Update ML timeout handling and adjust distance threshold for path hops
This commit is contained in:
1 parent
32dc0fca22
commit
637e08d22c
1 file changed
+1
-1
@@ -879,7 +879,7 @@ List<_PathHop> _buildPathHops(
|
|||||||
previousPosition = resolvedPosition;
|
previousPosition = resolvedPosition;
|
||||||
}
|
}
|
||||||
// If the best candidate is much farther than the previous hop, it's likely not the correct match.
|
// If the best candidate is much farther than the previous hop, it's likely not the correct match.
|
||||||
if (lastDistance + bestDistance > 70000 &&
|
if (lastDistance + bestDistance > 50000 &&
|
||||||
candidates != null &&
|
candidates != null &&
|
||||||
candidates.isNotEmpty) {
|
candidates.isNotEmpty) {
|
||||||
i--;
|
i--;
|
||||||
|
|||||||
Reference in new issue
Block a user