forked from phoenix/litellm-mirror
fix(caching.py): close redis connection pool upon proxy shutdown
This commit is contained in:
parent
a8ad99cf76
commit
48f96dd563
2 changed files with 2 additions and 1 deletions
|
@ -7430,6 +7430,7 @@ async def shutdown_event():
|
|||
|
||||
if litellm.cache is not None:
|
||||
await litellm.cache.disconnect()
|
||||
|
||||
## RESET CUSTOM VARIABLES ##
|
||||
cleanup_router_config_variables()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue