mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
(feat) /cache/flushall
This commit is contained in:
parent
151b717ae2
commit
b8af946fb9
2 changed files with 13 additions and 3 deletions
|
@ -334,6 +334,9 @@ class RedisCache(BaseCache):
|
|||
def flush_cache(self):
|
||||
self.redis_client.flushall()
|
||||
|
||||
def flushall(self):
|
||||
self.redis_client.flushall()
|
||||
|
||||
async def disconnect(self):
|
||||
await self.async_redis_conn_pool.disconnect(inuse_connections=True)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue