Browse Source

Fix alert server curator health check not work (#10111)

3.1.0-release
旺阳 3 years ago committed by GitHub
parent
commit
844ae42ee4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java

2
dolphinscheduler-alert/dolphinscheduler-alert-server/src/main/java/org/apache/dolphinscheduler/alert/AlertServer.java

@ -63,7 +63,7 @@ public class AlertServer implements Closeable {
*/ */
public static void main(String[] args) { public static void main(String[] args) {
Thread.currentThread().setName(Constants.THREAD_NAME_ALERT_SERVER); Thread.currentThread().setName(Constants.THREAD_NAME_ALERT_SERVER);
new SpringApplicationBuilder(AlertServer.class).web(WebApplicationType.NONE).run(args); new SpringApplicationBuilder(AlertServer.class).run(args);
} }
@EventListener @EventListener

Loading…
Cancel
Save