暂时关闭目录订阅的定时刷新,直到此功能完善

pull/231/head
648540858 2021-11-16 16:56:04 +08:00
parent 3e5e8a900b
commit c49f6f8337
1 changed files with 3 additions and 2 deletions

View File

@ -31,8 +31,9 @@ public class DeviceServiceImpl implements IDeviceService {
CatalogSubscribeTask catalogSubscribeTask = new CatalogSubscribeTask(device, sipCommander);
catalogSubscribeTask.run();
// 提前开始刷新订阅
String cron = getCron(device.getSubscribeCycleForCatalog() - 60);
dynamicTask.startCron(device.getDeviceId(), catalogSubscribeTask, cron);
// TODO 暂时关闭目录订阅的定时刷新,直到此功能完善
// String cron = getCron(device.getSubscribeCycleForCatalog() - 60);
// dynamicTask.startCron(device.getDeviceId(), catalogSubscribeTask, cron);
return true;
}