go-redis / redis_rate

Rate limiting for go-redis
https://redis.uptrace.dev/guide/go-redis-rate-limiting.html
BSD 2-Clause "Simplified" License
844 stars 101 forks source link

is it concurrency safe? #98

Open AsadYao opened 7 months ago

AsadYao commented 7 months ago

My limit is 60. When I have 6 concurrent requests, the 60th request is not restricted, only when there are more than 60 requests. This issue was not present in the v6 version, but was present in the v9 and v10 versions