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

[SDK-3644] Reconfigure rate limiting exponential backoff #386

Merged
merged 2 commits into from
Oct 4, 2022

Conversation

stevehobbsdev
Copy link
Contributor

Changes

The rate limiting wasn't very effective, always sitting at 1 second without any exponential backoff. These changes reconfigure the backoff so that there is progressive limiting until it hits 1 second.

Sample output over 10 retries:

0.25
0.369
0.803
1.0
1.0
1.0
1.0
1.0
1.0
1.0

References

Closes #358

Checklist

@stevehobbsdev stevehobbsdev requested a review from a team as a code owner October 4, 2022 13:59
@stevehobbsdev stevehobbsdev merged commit 9e7ec81 into master Oct 4, 2022
@stevehobbsdev stevehobbsdev deleted the sdk-3644/ratelimiting branch October 4, 2022 14:19
@stevehobbsdev stevehobbsdev mentioned this pull request Oct 10, 2022
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.

exponential backoff is not applied
2 participants