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(); }