From 192b44bb2e2d9ca317641e53b49f45c624aee940 Mon Sep 17 00:00:00 2001 From: wangwei Date: Fri, 21 Dec 2018 13:36:57 +0800 Subject: 取消硬件设备统计接口推送 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/nis/galaxy/template/ForEventsInterface.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/nis/galaxy/template/ForEventsInterface.java b/src/main/java/com/nis/galaxy/template/ForEventsInterface.java index 0416bb3..9f397e9 100644 --- a/src/main/java/com/nis/galaxy/template/ForEventsInterface.java +++ b/src/main/java/com/nis/galaxy/template/ForEventsInterface.java @@ -446,8 +446,8 @@ public class ForEventsInterface { /** * 硬件设备统计 24小时送一次数据 */ - @Scheduled(cron = "${24h.scheduled.cron.plan}") - @SchedulerLock(name = "device.num", lockAtLeastForString = "PT1H", lockAtMostForString = "PT2H") +// @Scheduled(cron = "${24h.scheduled.cron.plan}") +// @SchedulerLock(name = "device.num", lockAtLeastForString = "PT1H", lockAtMostForString = "PT2H") public void getDeviceNum() { if (!Boolean.parseBoolean(scheduledEventsEnable)) { return; @@ -694,7 +694,7 @@ public class ForEventsInterface { getImageMonitor(); getVoipMonitor(); // getDdosAlarm(); - getDeviceNum(); +// getDeviceNum(); // getRunningState(); // getTargetNetwork(); getHttpsMonitor(); -- cgit v1.2.3