Commit c49f6f8337af401b7c3184a4604cc70caf415af0
1 parent
3e5e8a90
暂时关闭目录订阅的定时刷新,直到此功能完善
Showing
1 changed file
with
3 additions
and
2 deletions
src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java
| @@ -31,8 +31,9 @@ public class DeviceServiceImpl implements IDeviceService { | @@ -31,8 +31,9 @@ public class DeviceServiceImpl implements IDeviceService { | ||
| 31 | CatalogSubscribeTask catalogSubscribeTask = new CatalogSubscribeTask(device, sipCommander); | 31 | CatalogSubscribeTask catalogSubscribeTask = new CatalogSubscribeTask(device, sipCommander); |
| 32 | catalogSubscribeTask.run(); | 32 | catalogSubscribeTask.run(); |
| 33 | // 提前开始刷新订阅 | 33 | // 提前开始刷新订阅 |
| 34 | - String cron = getCron(device.getSubscribeCycleForCatalog() - 60); | ||
| 35 | - dynamicTask.startCron(device.getDeviceId(), catalogSubscribeTask, cron); | 34 | + // TODO 暂时关闭目录订阅的定时刷新,直到此功能完善 |
| 35 | +// String cron = getCron(device.getSubscribeCycleForCatalog() - 60); | ||
| 36 | +// dynamicTask.startCron(device.getDeviceId(), catalogSubscribeTask, cron); | ||
| 36 | return true; | 37 | return true; |
| 37 | } | 38 | } |
| 38 | 39 |