Update ML timeout handling and adjust distance threshold for path hops

This commit is contained in:
Winston Lowe committed 2026-04-05 12:17:15 -07:00
1 parent 77566b0fe1
commit 36d4a10396
3 files changed
+5 -3

No files matched your search

+3 -1
View File
@@ -3903,7 +3903,9 @@ class MeshCoreConnector extends ChangeNotifier {
if (mlTimeout != null) {
if (pathLength < 0) {
// Flood: trust ML, only enforce firmware formula as floor
return mlTimeout.clamp(physicsMin, mlTimeout);
if (mlTimeout < physicsMin) {
return physicsMin;
}
}
return mlTimeout.clamp(physicsMin, physicsMax);
}