From 722c08537bbf5cae03fab2568ca422f58ed9863b Mon Sep 17 00:00:00 2001 From: behruz-dev Date: Fri, 29 Aug 2025 11:54:01 +0500 Subject: [PATCH] add: add cache --- config/conf/cache.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/config/conf/cache.py b/config/conf/cache.py index 39fd61d..b501ae4 100644 --- a/config/conf/cache.py +++ b/config/conf/cache.py @@ -18,7 +18,17 @@ CACHEOPS = { "accounts.*": { "ops": "all", "timeout": 60 * 5, - }, + }, + "payment.*": { + "ops": "all", + "timeout": 60 * 5, + },"common.*": { + "ops": "all", + "timeout": 60 * 5, + },"orders.*": { + "ops": "all", + "timeout": 60 * 5, + }, } CACHEOPS_DEGRADE_ON_FAILURE = True CACHEOPS_ENABLED = True \ No newline at end of file