mennanov / limiters

Golang rate limiters for distributed applications
https://godoc.org/github.com/mennanov/limiters
MIT License
458 stars 49 forks source link

Clear lastVersion in a case of returning an empty TokenBucketState #30

Closed oskarwojciski closed 11 months ago

oskarwojciski commented 11 months ago

Solving #29

codecov[bot] commented 11 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4dbb27f) 82.93% compared to head (6b2a9dc) 83.00%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #30 +/- ## ========================================== + Coverage 82.93% 83.00% +0.07% ========================================== Files 10 10 Lines 1178 1183 +5 ========================================== + Hits 977 982 +5 Misses 137 137 Partials 64 64 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

mennanov commented 11 months ago

Thanks for contributing!