ITADN

Expire with nx option not worked on keydb

#213OpenGrozniyToaster 创建于 2024-08-29
G
GrozniyToastercommented
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 arguments for 'expire' command",) It seems there are a [lot of problems due to the option)](https://github.com/wemake-services/asyncio-redis-rate-limit/blob/master/asyncio_redis_rate_limit/compat.py) https://docs.keydb.dev/docs/commands/#expire https://redis.io/docs/latest/commands/expire/
3 条评论