Closed tiejunhu closed 9 months ago
saq supports redis>=4.2,<6.0
redis 4.2 doesn't have aclose
: https://github.com/redis/redis-py/blob/v4.2.0/redis/asyncio/client.py
So we'd have to drop support for some redis versions. I'm not sure that's worth it?
can you adjust this pr to check if aclose exists?
closing for now, happy to receive a pr with redis 4 compatibility
ok. if redis 4 should be supported. let's keep the 'close' until it breaks on newer redis library.
redis.close is deprecated since version 5.0.0