优化
This commit is contained in:
parent
dc450d6ce1
commit
64a3426f92
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user