add: add cache
This commit is contained in:
@@ -19,6 +19,16 @@ CACHEOPS = {
|
|||||||
"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
|
||||||
Reference in New Issue
Block a user