mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 03:34:10 +00:00
fix(_redis.py): fix args passed to redis.from_url argument
This commit is contained in:
parent
7065e4ee12
commit
5bc0437680
2 changed files with 41 additions and 8 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue