add: add cache

This commit is contained in:
behruz-dev
2025-08-29 11:54:01 +05:00
parent 74bf4b3c31
commit 722c08537b

View File

@@ -18,7 +18,17 @@ CACHEOPS = {
"accounts.*": { "accounts.*": {
"ops": "all", "ops": "all",
"timeout": 60 * 5, "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_DEGRADE_ON_FAILURE = True
CACHEOPS_ENABLED = True CACHEOPS_ENABLED = True