Spaces:
Sleeping
Sleeping
REFINE: rename inventory_cache and query_cache to instant_reply_cache and product_result_cache for clarity
Browse files- core/cache.py +2 -2
core/cache.py
CHANGED
|
@@ -60,7 +60,7 @@ class RateLimiter:
|
|
| 60 |
return True
|
| 61 |
|
| 62 |
|
| 63 |
-
|
| 64 |
-
|
| 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)
|