mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 19:24:27 +00:00
fix(caching.py): pass redis kwargs to connection pool init
This commit is contained in:
parent
016b3c7931
commit
dfcf16eb4d
2 changed files with 37 additions and 7 deletions
|
@ -109,7 +109,7 @@ class RedisCache(BaseCache):
|
|||
redis_kwargs.update(kwargs)
|
||||
self.redis_client = get_redis_client(**redis_kwargs)
|
||||
self.redis_kwargs = redis_kwargs
|
||||
self.async_redis_conn_pool = get_redis_connection_pool()
|
||||
self.async_redis_conn_pool = get_redis_connection_pool(**redis_kwargs)
|
||||
|
||||
def init_async_client(self):
|
||||
from ._redis import get_redis_async_client
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue