Remove fast return for alert plugins (#7723)

This commit is contained in:
kezhenxu94 2021-12-30 15:02:03 +08:00 committed by GitHub
parent 1cd5162e4e
commit 68906f1b31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 5 deletions

View File

@ -75,11 +75,6 @@ public class AlertServer implements Closeable {
checkTable();
startServer();
if (alertPluginManager.size() == 0) {
logger.warn("No alert plugin, alert sender will exit.");
return;
}
Executors.newScheduledThreadPool(1)
.scheduleAtFixedRate(new Sender(), 5, 5, TimeUnit.SECONDS);
}