mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
fix in mem cache tests
This commit is contained in:
parent
fbef5013a1
commit
8a66e074ce
2 changed files with 3 additions and 3 deletions
|
@ -282,7 +282,7 @@ class Router:
|
|||
litellm.cache = litellm.Cache(type=cache_type, **cache_config) # type: ignore
|
||||
self.cache_responses = cache_responses
|
||||
self.cache = DualCache(
|
||||
redis_cache=redis_cache, in_memory_cache=InMemoryCache()
|
||||
redis_cache=redis_cache, in_memory_cache=InMemoryCache(default_ttl=86400)
|
||||
) # use a dual cache (Redis+In-Memory) for tracking cooldowns, usage, etc.
|
||||
|
||||
### SCHEDULER ###
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue