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

Adjust default backoff max to just over 1 hour, add ?maxbackoff= peer option #1124

Merged
merged 1 commit into from
Jan 15, 2024

Conversation

neilalexander
Copy link
Member

This makes two changes to the link backoffs:

  • The default maximum is now just over 1 hour, instead of 4.5 hours.
  • A new peer option ?maxbackoff= is added, minimum allowed value is 30s, accepts minutes like 5m or hours like 4h etc. The backoff is exponential as normal up until that limit is reached, at which point the backoff is held at that limit.

Fixes #1117.

@neilalexander neilalexander merged commit 180d7bf into develop Jan 15, 2024
28 checks passed
@neilalexander neilalexander deleted the neil/backoff2 branch January 15, 2024 23:09
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.

Allow a configurable maximum backoff
2 participants