Sidreds06 commited on
Commit
0eb3021
·
1 Parent(s): f5dbfdf

caching time chnaged to 30s

Browse files
Files changed (1) hide show
  1. backend/cache_utils.py +1 -1
backend/cache_utils.py CHANGED
@@ -8,7 +8,7 @@ setup_google_credentials()
8
  # Simple in-memory cache
9
  user_cache: Dict[str, Dict[str, Any]] = {}
10
  routing_cache: Dict[str, str] = {}
11
- CACHE_DURATION = 300 # 5 minutes in seconds
12
  ROUTING_CACHE_DURATION = 1800 # 30 minutes for routing
13
 
14
  def get_cache_key(user_id: str) -> str:
 
8
  # Simple in-memory cache
9
  user_cache: Dict[str, Dict[str, Any]] = {}
10
  routing_cache: Dict[str, str] = {}
11
+ CACHE_DURATION = 30 # 30 seconds
12
  ROUTING_CACHE_DURATION = 1800 # 30 minutes for routing
13
 
14
  def get_cache_key(user_id: str) -> str: