Qurrah commited on
Commit
cb5113e
·
1 Parent(s): 48394b1

ADD: instantiate query_cache with a TTL of 600 seconds

Browse files
Files changed (1) hide show
  1. core/cache.py +1 -0
core/cache.py CHANGED
@@ -61,5 +61,6 @@ class RateLimiter:
61
 
62
 
63
  inventory_cache = TTLCache(ttl=300)
 
64
  credentials_cache = TTLCache(ttl=600)
65
  rate_limiter = RateLimiter(max_calls=20, period=60)
 
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)