mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 19:54:13 +00:00
fix(caching.py): close redis connection pool upon proxy shutdown
This commit is contained in:
parent
203c5d7a0c
commit
27de1089a6
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