This commit is contained in:
liuchengqian 2023-03-07 17:21:34 +08:00
parent dc450d6ce1
commit 64a3426f92

View File

@ -17,8 +17,8 @@ public class StaticScheduleTask {
@Resource @Resource
private FirePointSubscribeManager firePointSubscribeManager; private FirePointSubscribeManager firePointSubscribeManager;
//小时更新一次订阅 //小时更新一次订阅
@Scheduled(cron = "0 0 */2 * * ?") @Scheduled(cron = "0 */30 * * * ?")
private void syncSubscribe() { private void syncSubscribe() {
firePointSubscribeManager.autoSync(); firePointSubscribeManager.autoSync();
} }