From 64a3426f92eea4a75eb184f6ab9be5168087dd6b Mon Sep 17 00:00:00 2001 From: liuchengqian Date: Tue, 7 Mar 2023 17:21:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/xkrs/common/StaticScheduleTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/xkrs/common/StaticScheduleTask.java b/src/main/java/com/xkrs/common/StaticScheduleTask.java index 6213695..d6e2fc0 100644 --- a/src/main/java/com/xkrs/common/StaticScheduleTask.java +++ b/src/main/java/com/xkrs/common/StaticScheduleTask.java @@ -17,8 +17,8 @@ public class StaticScheduleTask { @Resource private FirePointSubscribeManager firePointSubscribeManager; - //每两小时更新一次订阅 - @Scheduled(cron = "0 0 */2 * * ?") + //每半小时更新一次订阅 + @Scheduled(cron = "0 */30 * * * ?") private void syncSubscribe() { firePointSubscribeManager.autoSync(); }