issues
search
brayniac
/
ratelimit
rust ratelimiter
Apache License 2.0
30
stars
5
forks
source link
bugfix: bucket available too high initially
#9
Closed
brayniac
closed
8 years ago
brayniac
commented
8 years ago
fixes #8
the bucket available count should initialize to 1 to provide accurate rate for any capacity
fix the available count
add test to catch this error