mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
RedisCluster import
This commit is contained in:
parent
b18162834c
commit
143441aa87
1 changed files with 2 additions and 0 deletions
|
|
@ -29,6 +29,8 @@ class RedisClusterCache(RedisCache):
|
|||
self.redis_cluster_client: Optional[RedisCluster] = None
|
||||
|
||||
def init_async_client(self):
|
||||
from redis.asyncio import RedisCluster
|
||||
|
||||
from .._redis import get_redis_async_client
|
||||
|
||||
if self.redis_cluster_client:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue