From 25a19891577fac2d8848cd81439171034434688d Mon Sep 17 00:00:00 2001 From: Eric Date: Wed, 18 Oct 2023 19:13:35 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=AE=8C=E5=96=84=E5=83=B5=E5=B0=B8?= =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/terminal/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/terminal/tasks.py b/apps/terminal/tasks.py index 65fae3ded..38ca1941a 100644 --- a/apps/terminal/tasks.py +++ b/apps/terminal/tasks.py @@ -43,6 +43,7 @@ def delete_terminal_status_period(): @register_as_period_task(interval=600) @after_app_ready_start @after_app_shutdown_clean_periodic +@tmp_to_root_org() def clean_orphan_session(): active_sessions = Session.objects.filter(is_finished=False) for session in active_sessions: