fix(_redis.py): fix args passed to redis.from_url argument

This commit is contained in:
Krrish Dholakia 2024-04-19 15:27:11 -07:00
parent 7065e4ee12
commit 5bc0437680
2 changed files with 41 additions and 8 deletions

View file

@ -174,6 +174,9 @@ class RedisCache(BaseCache):
except Exception:
pass
### SYNC HEALTH PING ###
self.redis_client.ping()
def init_async_client(self):
from ._redis import get_redis_async_client