alisaifee / limits

Rate limiting using various strategies and storage backends such as redis & memcached
https://limits.readthedocs.org
MIT License
428 stars 58 forks source link

AttributeError: type object 'Redis' has no attribute 'RedisError' #215

Closed allanlei closed 7 months ago

allanlei commented 7 months ago
AttributeError
type object 'Redis' has no attribute 'RedisError'

https://github.com/alisaifee/limits/blob/master/limits/storage/redis.py#L182C32-L182C42

When we encounter ConnectionError: max number of clients reached

This should be a similar issue as https://github.com/alisaifee/limits/pull/203

allanlei commented 7 months ago

Oh, nevermind. We had this monkey patched with something custom