EvoluxBR / python-redis-rate-limit

Python Rate Limiter implemented based on Redis INCR, EXPIRE, EVALSHA and EVAL.
Other
122 stars 38 forks source link

AWS ElastiCache support #33

Closed YouJinTou closed 22 hours ago

YouJinTou commented 7 months ago

redis_version = self._redis.info['redis_version'] is_supported = Version(str(redis_version)) >= Version('2.6.0')

This does not work on Amazon's ElastiCache as redis_version is a number, and Version() blows up with expected string or a byte-like object....

victor-torres commented 1 week ago

I think this is fixed by #34

italorossi commented 22 hours ago

https://pypi.org/project/python-redis-rate-limit/0.0.10/