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