Enable proactive rerouting by default#1986
Conversation
There was a problem hiding this comment.
We’re getting close to being able to refresh the existing route on a timer as well. Should we control both behaviors through a single, more generically named property, on an interval defined by a single, more generically named constant? Or should we keep the two complementary behaviors separate?
There was a problem hiding this comment.
I think it's OK to keep a separate flag for "reroutesProactively" (although the naming leaves a little to be desired). Faster route polling should happen directly after a directions refresh response, so it's possible we'll be reworking this code again soon.
I don't think we should combine them into one option, to directly answer your question.
There was a problem hiding this comment.
what does 'refresh the existing route' mean? separate i reckon, by the sound of it.
a536fc1 to
43c761a
Compare
43c761a to
618a7c8
Compare
| } | ||
| } | ||
|
|
||
| extension LegacyRouteController: InternalRouter { } |
There was a problem hiding this comment.
This line introduces a deprecation warning. Not sure how to work around that 🤔
9e0764e to
c0a2a93
Compare
a8b61e2 to
685ed96
Compare
Fixes #1902 - Enable proactive rerouting by default
LegacyRouteController