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

LinearRetry linearity fix #16

Merged
merged 1 commit into from
Apr 17, 2022
Merged

LinearRetry linearity fix #16

merged 1 commit into from
Apr 17, 2022

Conversation

ToxicMushroom
Copy link
Contributor

The previous formula would not go linearly from minBackoff to maxBackoff and in extreme cases (e.g minBackoff=2 seconds maxBackoff=Int.MAX_VALUE) the retry function would delay by 0ms

@ToxicMushroom ToxicMushroom changed the title LineaRetry linearity fix LinearRetry linearity fix Apr 14, 2022
@DRSchlaubi DRSchlaubi merged commit 2c8183e into kordlib:main Apr 17, 2022
@ToxicMushroom ToxicMushroom deleted the fix-linear-retry branch April 18, 2022 12:14
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.

None yet

2 participants