This commit is contained in:
tiger_zhou 2023-12-28 16:20:29 +08:00
parent 2aadd4dab5
commit 0d72772687

View File

@ -73,7 +73,7 @@ public class AlertManager extends EventEmitter {
public synchronized void taskStart() { public synchronized void taskStart() {
if (!started) { if (!started) {
started = true; started = true;
Executor.scheduleAtFixedRate(() -> Executor.scheduleWithFixedDelay(() ->
amtMap.values().forEach(alertMonitoringTask -> { amtMap.values().forEach(alertMonitoringTask -> {
try { try {
alertMonitoringTask.run(); alertMonitoringTask.run();