You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2021/10/06 02:15:49 UTC
[dolphinscheduler] branch dev updated: Run h2 in daemon mode (#6446)
This is an automated email from the ASF dual-hosted git repository.
lidongdai pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git
The following commit(s) were added to refs/heads/dev by this push:
new 6529f92 Run h2 in daemon mode (#6446)
6529f92 is described below
commit 6529f92883dfd62cdc7241acba8cb16e4fa60a36
Author: Wenjun Ruan <we...@apache.org>
AuthorDate: Wed Oct 6 10:15:36 2021 +0800
Run h2 in daemon mode (#6446)
---
.../main/java/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 94b6ca7..bc42871 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);