summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangwei <[email protected]>2018-12-21 13:36:57 +0800
committerwangwei <[email protected]>2018-12-21 13:36:57 +0800
commit192b44bb2e2d9ca317641e53b49f45c624aee940 (patch)
treefd0376c5148981eec5f8cf73c7d29dccbcb996d4
parent5d9ca02dda6e9d705da07a40c69d0b900cf249c9 (diff)
取消硬件设备统计接口推送
-rw-r--r--src/main/java/com/nis/galaxy/template/ForEventsInterface.java6
1 files 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();