From e078028f1a8da34f3cc2cb5095b8e103a996f553 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期五, 11 四月 2025 10:16:42 +0800 Subject: [PATCH] 首页智能体中心过滤掉自研类型 --- main.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/main.py b/main.py index 3ec7a9d..ccaefda 100644 --- a/main.py +++ b/main.py @@ -27,6 +27,7 @@ sync_resources_from_json from app.init_config.init_run_data import sync_default_data from app.task.sync_account_token import start_sync_token_task +from app.task.sync_system import sync_resource init_db() @@ -56,6 +57,7 @@ scheduler = BackgroundScheduler() scheduler.add_job(sync_agents_v2, 'interval', minutes=60, id="sync_resource_data") scheduler.add_job(start_sync_token_task, 'interval', minutes=5, id="sync_token_1") +scheduler.add_job(sync_resource, 'interval', minutes=30, id="sync_resource_1") scheduler.start() -- Gitblit v1.8.0