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

make the number of buckets used in rate limiting configurable #117

Merged
merged 2 commits into from
Dec 18, 2022

Conversation

cantaylancapraz
Copy link
Contributor

Bucket4j spring boot starter library always consumes 1 token as hardcoded. This value has been made configurable via the rate limiter.

@MarcGiffing MarcGiffing merged commit b461c5e into MarcGiffing:master Dec 18, 2022
@MarcGiffing MarcGiffing added this to the 0.8.0 milestone Dec 18, 2022
MarcGiffing added a commit that referenced this pull request Dec 22, 2022
- rename cost variable to numTokens
- add readme hint
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