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();