mirror of
https://github.com/Alexander-D-Karpov/akarpov
synced 2024-11-22 06:16:34 +03:00
fixed cache
This commit is contained in:
parent
b93b29d06c
commit
c0c6c5f8d4
|
@ -63,7 +63,7 @@
|
|||
CACHEOPS = {
|
||||
"auth.user": {"ops": "get", "timeout": 60 * 15},
|
||||
"auth.*": {"ops": ("fetch", "get"), "timeout": 60 * 2},
|
||||
"blog.*": {"ops": ("fetch", "get"), "timeout": 15},
|
||||
"blog.post": {"ops": ("fetch", "get"), "timeout": 15},
|
||||
"auth.permission": {"ops": "all", "timeout": 60 * 15},
|
||||
}
|
||||
CACHEOPS_REDIS = env.str("REDIS_URL")
|
||||
|
|
Loading…
Reference in New Issue
Block a user