mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-05 08:07:05 +00:00
fix redis event loop closed at first call (#16913)
This commit is contained in:
parent
6e70c279f8
commit
42c883d64f
1 changed files with 1 additions and 1 deletions
|
|
@ -193,7 +193,7 @@ class RedisCache(BaseCache):
|
|||
connection_pool=self.async_redis_conn_pool, **self.redis_kwargs
|
||||
)
|
||||
in_memory_llm_clients_cache.set_cache(
|
||||
key="async-redis-client", value=self.redis_async_client
|
||||
key="async-redis-client", value=redis_async_client
|
||||
)
|
||||
|
||||
self.redis_async_client = redis_async_client # type: ignore
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue