From c49f6f8337af401b7c3184a4604cc70caf415af0 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Tue, 16 Nov 2021 16:56:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E6=97=B6=E5=85=B3=E9=97=AD=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E8=AE=A2=E9=98=85=E7=9A=84=E5=AE=9A=E6=97=B6=E5=88=B7?= =?UTF-8?q?=E6=96=B0=EF=BC=8C=E7=9B=B4=E5=88=B0=E6=AD=A4=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E5=AE=8C=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../genersoft/iot/vmp/service/impl/DeviceServiceImpl.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java b/src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java index 595f38c8..7cee0965 100644 --- a/src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java +++ b/src/main/java/com/genersoft/iot/vmp/service/impl/DeviceServiceImpl.java @@ -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; }