mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 10:44:24 +00:00
fix always read redis
This commit is contained in:
parent
0b51712aab
commit
fd122cb759
3 changed files with 18 additions and 5 deletions
|
@ -207,7 +207,7 @@ class ProxyLogging:
|
|||
self.call_details: dict = {}
|
||||
self.call_details["user_api_key_cache"] = user_api_key_cache
|
||||
self.internal_usage_cache = DualCache(
|
||||
default_in_memory_ttl=1
|
||||
default_in_memory_ttl=1, always_read_redis=litellm.always_read_redis
|
||||
) # ping redis cache every 1s
|
||||
self.max_parallel_request_limiter = _PROXY_MaxParallelRequestsHandler(
|
||||
self.internal_usage_cache
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue