Written inside the request interface, only one takes effect
goophps opened this issue · comments
randolph commented
Written inside the request interface, only one takes effect:
rate_limiter = RateLimiter(5, seconds=10)
await rate_limiter(request, Response())
rate_limiter2 = RateLimiter(60, hours=1)
await rate_limiter2(request, Response())
The reason is found because the keys generated in redis are the same