add: add cache
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user