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

Implement backoff to ERROR disconnect loop #43

Closed
hifi opened this issue May 9, 2021 · 0 comments
Closed

Implement backoff to ERROR disconnect loop #43

hifi opened this issue May 9, 2021 · 0 comments

Comments

@hifi
Copy link
Owner

hifi commented May 9, 2021

Some networks like QuakeNet really dislike a lot of connection attempts at the same time and start to throttle. Currently there is no backoff for ERROR disconnects and it will reconnect in 10 seconds

Implement backoff and some randomization so all bridge users won't connect at the same time.

@hifi hifi added this to the v1.0 milestone Jun 17, 2021
@hifi hifi removed this from the v1.0 milestone Aug 12, 2021
hifi added a commit that referenced this issue Nov 6, 2021
 - increase reconnect timer up to 5 minutes
 - always jump to next server if disconnected in under 5 minutes
 - allow cancelling a reconnect attempt before backoff

Fixes #43, #98 and #99
@hifi hifi closed this as completed in d249754 Nov 7, 2021
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

No branches or pull requests

1 participant