Closed smallnest closed 10 months ago
@smallnest can you please try the version from #120 and confirm if it works for you
yes. Fixed. thanks
The fixed PR isn't merged. @smallnest Please re-open the issue to notify the maintainer and other users to pay attention to it. It's a bug that leads to an incident in my prod service. 😢 ðŸ˜
This issue is also associated with #106 .
https://github.com/uber-go/ratelimit/blob/main/limiter_atomic_int64.go#L72
you will find the case always (almost) returns true.
The below code is a test for reproduce:
ratelimit is v0.3.0