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

Typo in the README #372

Open
lolo101 opened this issue Dec 18, 2024 · 0 comments
Open

Typo in the README #372

lolo101 opened this issue Dec 18, 2024 · 0 comments

Comments

@lolo101
Copy link

lolo101 commented Dec 18, 2024

The first example of configuration in the README reads :

bucket4j.filters[0].cache-name=buckets # the name of the cache
bucket4j.filters[0].url=^(/hello).* # regular expression for the url
bucket4j.filters[0].rate-limits[0].bandwidths[0].capacity=5 # refills 5 tokens every 10 seconds (intervall)
bucket4j.filters[0].rate-limits[0].bandwidths[0].time=10
bucket4j.filters[0].rate-limits[0].bandwidths[0].unit=seconds
bucket4j.filters[0].rate-limits[0].bandwidths[0].refill-speed=intervall

However when I copy-paste this configuration I get an error :
image

The correct configuration should be

bucket4j.filters[0].rate-limits[0].bandwidths[0].refill-speed=interval

(with 1 'L' in interval)

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