From 9a2287430506dd9f021c9b6cf707fe367c284d24 Mon Sep 17 00:00:00 2001 From: ibuler Date: Tue, 18 Dec 2018 20:14:44 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E5=8E=BB=E6=8E=89=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E7=9A=84=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/tasks.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apps/assets/tasks.py b/apps/assets/tasks.py index 0e6a6ec99..dce2634c0 100644 --- a/apps/assets/tasks.py +++ b/apps/assets/tasks.py @@ -389,6 +389,18 @@ def push_system_user_to_assets(system_user, assets): return push_system_user_util(system_user, assets, task_name) +@shared_task +@after_app_shutdown_clean +def test_system_user_connectability_period(): + pass + + +@shared_task +@after_app_shutdown_clean +def test_admin_user_connectability_period(): + pass + + # @shared_task # @register_as_period_task(interval=3600) # @after_app_ready_start