asyncio-redis-rate-limit icon indicating copy to clipboard operation
asyncio-redis-rate-limit copied to clipboard

Rate limiter for async functions using Redis as a backend.

Results 9 asyncio-redis-rate-limit issues
Sort by recently updated
recently updated
newest added
trafficstars

For redis:6.2 it raises the following error: > Command # 2 (EXPIRE my_key 1 NX) of pipeline caused error: ("wrong number of arguments for 'expire' command",)

For some reason, it is failing

Bumps [flake8-pytest-style](https://github.com/m-burst/flake8-pytest-style) from 1.7.2 to 2.0.0. Commits 2d351f8 Bump version: 1.7.2 → 2.0.0 547f590 Make release job manual 87ac31f Invert defaults for pytest-fixture-no-parentheses and `pytest-mark-no-paren... 705c2ad Support Python 3.12 (#279)...

dependencies
python

From reading the code, the following comment indicates that `Redis Pattern: Rate Limiter 1` is being used which is confusing as the cache key does not contain the timestamp. ```...

I suspect this issue was due to the underlying library's api signature change this was tested on python v3.10, redis-stack-server c6.2.7 redis-py v4.3.5

We tried to set ratelimits on keydb, but it didn’t work( Crash with the error redis.exceptions.ResponseError: Command # 2 (EXPIRE jms:ratelimit:8badef9b1bae26f59 86400 NX) of pipeline caused error: ("wrong number of...