diff --git a/litellm/router.py b/litellm/router.py index 8c05a7e8b..df783eab8 100644 --- a/litellm/router.py +++ b/litellm/router.py @@ -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(default_ttl=86400) + redis_cache=redis_cache, in_memory_cache=InMemoryCache() ) # use a dual cache (Redis+In-Memory) for tracking cooldowns, usage, etc. ### SCHEDULER ###