From 0d72772687c5681205a3239b1da0648a818b30f7 Mon Sep 17 00:00:00 2001 From: tiger_zhou Date: Thu, 28 Dec 2023 16:20:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/club/joylink/xiannccda/alert/core/AlertManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/club/joylink/xiannccda/alert/core/AlertManager.java b/src/main/java/club/joylink/xiannccda/alert/core/AlertManager.java index 56cd86f..2f52c03 100644 --- a/src/main/java/club/joylink/xiannccda/alert/core/AlertManager.java +++ b/src/main/java/club/joylink/xiannccda/alert/core/AlertManager.java @@ -73,7 +73,7 @@ public class AlertManager extends EventEmitter { public synchronized void taskStart() { if (!started) { started = true; - Executor.scheduleAtFixedRate(() -> + Executor.scheduleWithFixedDelay(() -> amtMap.values().forEach(alertMonitoringTask -> { try { alertMonitoringTask.run();