Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exponential backoff #2

Merged
merged 7 commits into from
Nov 19, 2022
Merged

Add exponential backoff #2

merged 7 commits into from
Nov 19, 2022

Conversation

joshbetz
Copy link
Owner

Exponentially backoff when reconnecting down nodes.

If we add this to the node pool before it has started, there's an edge
case where we can try to add it to the pool multiple times.
Instead of connecting every 30 seconds by default, we use an exponential
backoff function that developers can supply.
@joshbetz joshbetz merged commit 06d729b into main Nov 19, 2022
@joshbetz joshbetz deleted the add/exponential-backoff branch November 19, 2022 17:36
@joshbetz joshbetz restored the add/exponential-backoff branch July 30, 2023 15:55
@joshbetz joshbetz deleted the add/exponential-backoff branch July 30, 2023 15:55
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.

1 participant