From f8a8947b20d675b8f09bd5e909c9d267a369f8a9 Mon Sep 17 00:00:00 2001 From: guohelu <141622458+guohelu@users.noreply.github.com> Date: Thu, 28 Nov 2024 17:11:10 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=BF=94=E5=9B=9E?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E9=97=B4=E9=9A=94=E6=97=B6=E9=97=B4=20--stor?= =?UTF-8?q?y=3D120737215=20(#7623)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: 添加返回数据间隔时间 --story=120737215 * fix: 修复相应上下文问题 --story=120737215 --- gcloud/core/context_processors.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gcloud/core/context_processors.py b/gcloud/core/context_processors.py index 150348155..89c1f9191 100644 --- a/gcloud/core/context_processors.py +++ b/gcloud/core/context_processors.py @@ -91,6 +91,7 @@ def mysetting(request): "_": _, # 国际化 "LANGUAGES": settings.LANGUAGES, # 国际化 # 自定义变量 + "PERIODIC_TASK_SHORTEST_TIME": settings.PERIODIC_TASK_SHORTEST_TIME, "OPEN_VER": settings.OPEN_VER, "RUN_VER": settings.RUN_VER, "RUN_VER_NAME": EnvironmentVariables.objects.get_var(run_ver_key, settings.RUN_VER_NAME),