mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
redis show client_list, info
This commit is contained in:
parent
9accc544e9
commit
916e4032ee
1 changed files with 8 additions and 0 deletions
|
@ -338,6 +338,14 @@ class RedisCache(BaseCache):
|
|||
traceback.print_exc()
|
||||
raise e
|
||||
|
||||
def client_list(self):
|
||||
client_list = self.redis_client.client_list()
|
||||
return client_list
|
||||
|
||||
def info(self):
|
||||
info = self.redis_client.info()
|
||||
return info
|
||||
|
||||
def flush_cache(self):
|
||||
self.redis_client.flushall()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue