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

Add parameter to set token bucket refill time, not just refill rate. #30

Open
evanmcneely opened this issue May 28, 2022 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@evanmcneely
Copy link
Contributor

The token bucket parameter refillRate is being used to set the bucket refill amount for every 1 second. Add a parameter refillFrequency to adjust to time between refills other than 1 second. Maybe it defaults to 1 second and maybe the parameter refillRate needs to be changed to refillAmount. The end goal is to be able to configure the algorithm to refill at a rate of 10 tokens a minute, for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants