From c0c6c5f8d43fc8f6a5a0d21a5ab9c166d6cd5795 Mon Sep 17 00:00:00 2001 From: Alexander-D-Karpov Date: Sat, 29 Jul 2023 18:51:56 +0300 Subject: [PATCH] fixed cache --- config/settings/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings/base.py b/config/settings/base.py index 465fcee..bc7df9a 100644 --- a/config/settings/base.py +++ b/config/settings/base.py @@ -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")