Qurrah commited on
Commit
af700e4
·
1 Parent(s): c310376

REFINE: rename inventory_cache and query_cache to instant_reply_cache and product_result_cache for clarity

Browse files
Files changed (1) hide show
  1. core/cache.py +2 -2
core/cache.py CHANGED
@@ -60,7 +60,7 @@ class RateLimiter:
60
  return True
61
 
62
 
63
- inventory_cache = TTLCache(ttl=300)
64
- query_cache = TTLCache(ttl=600)
65
  credentials_cache = TTLCache(ttl=600)
66
  rate_limiter = RateLimiter(max_calls=20, period=60)
 
60
  return True
61
 
62
 
63
+ instant_reply_cache = TTLCache(ttl=300)
64
+ product_result_cache = TTLCache(ttl=600)
65
  credentials_cache = TTLCache(ttl=600)
66
  rate_limiter = RateLimiter(max_calls=20, period=60)