add: add cache

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

View File

@@ -19,6 +19,16 @@ CACHEOPS = {
"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