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

Use a token bucket for handling rate limits #2182

Open
hrxi opened this issue Feb 2, 2024 · 0 comments
Open

Use a token bucket for handling rate limits #2182

hrxi opened this issue Feb 2, 2024 · 0 comments

Comments

@hrxi
Copy link
Contributor

hrxi commented Feb 2, 2024

https://en.wikipedia.org/wiki/Token_bucket

This makes sure that we don't drop all requests for the remainder of the time interval once we hit the rate limit.

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