Open
Description
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 :
The correct configuration should be
bucket4j.filters[0].rate-limits[0].bandwidths[0].refill-speed=interval
(with 1 'L' in interval)
Metadata
Metadata
Assignees
Labels
No labels