Skip to content

Typo in the README #372

Open
Open
@lolo101

Description

@lolo101

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions