From 6529f92883dfd62cdc7241acba8cb16e4fa60a36 Mon Sep 17 00:00:00 2001 From: Wenjun Ruan Date: Wed, 6 Oct 2021 10:15:36 +0800 Subject: [PATCH] Run h2 in daemon mode (#6446) --- .../org/apache/dolphinscheduler/server/StandaloneServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java b/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java index 94b6ca7bc2..bc4287119d 100644 --- a/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java +++ b/dolphinscheduler-standalone-server/src/main/java/org/apache/dolphinscheduler/server/StandaloneServer.java @@ -110,7 +110,7 @@ public class StandaloneServer { System.setProperty(SPRING_DATASOURCE_USERNAME, "sa"); System.setProperty(SPRING_DATASOURCE_PASSWORD, ""); - Server.createTcpServer("-ifNotExists").start(); + Server.createTcpServer("-ifNotExists", "-tcpDaemon").start(); final DataSource ds = ConnectionFactory.getInstance().getDataSource(); final ScriptRunner runner = new ScriptRunner(ds.getConnection(), true, true);