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

messager: add 33% jitter to postpone backoff #6092

Merged
merged 5 commits into from
Apr 20, 2020

Conversation

derekperkins
Copy link
Member

As mentioned in #5882, it's preferable to add jitter to any exponential backoff. This adds it to the postpone query. The query itself looks more complex than it actually is since it potentially has to repeat the backoff calculation many times.

Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
Signed-off-by: Derek Perkins <[email protected]>
@derekperkins derekperkins mentioned this pull request Apr 20, 2020
12 tasks
@derekperkins derekperkins merged commit ab13a0f into master Apr 20, 2020
@derekperkins derekperkins deleted the messages-postpone-jitter branch April 20, 2020 15:53
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.

2 participants