Skip to content

Add support for exponential backoff in reconnection delays; Don't die on failure in initial connection#65

Open
reivilibre wants to merge 5 commits intoLORD-MicroStrain:rosfrom
reivilibre:rei/backoff
Open

Add support for exponential backoff in reconnection delays; Don't die on failure in initial connection#65
reivilibre wants to merge 5 commits intoLORD-MicroStrain:rosfrom
reivilibre:rei/backoff

Conversation

@reivilibre
Copy link
Copy Markdown

  • No longer die when the first connection fails — we start directly in the reconnect loop. Closes Node dies if connection to caster fails #44
  • Uses exponential backoff when reconnecting, which makes reconnect loops less 'aggressive' and therefore less likely to get you banned from NTRIP Casters.

Signed-off-by: Olivier 'reivilibre <git.contact@librepush.net>
Signed-off-by: Olivier 'reivilibre <git.contact@librepush.net>
Signed-off-by: Olivier 'reivilibre <git.contact@librepush.net>
Signed-off-by: Olivier 'reivilibre <git.contact@librepush.net>
I believe time.sleep() is ill-advised in ROS because it's not
interruptible?

Signed-off-by: Olivier 'reivilibre <git.contact@librepush.net>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Node dies if connection to caster fails

1 participant