You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by qi...@apache.org on 2022/11/27 16:43:45 UTC

[iotdb] branch master updated: change sleep time (#8213)

This is an automated email from the ASF dual-hosted git repository.

qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git


The following commit(s) were added to refs/heads/master by this push:
     new 82cc6bac49 change sleep time (#8213)
82cc6bac49 is described below

commit 82cc6bac49d9d71735214f0b5914a40179d83eee
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Mon Nov 28 00:43:40 2022 +0800

    change sleep time (#8213)
---
 node-commons/src/assembly/resources/sbin/start-standalone.sh | 2 +-
 node-commons/src/assembly/resources/sbin/stop-standalone.bat | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/node-commons/src/assembly/resources/sbin/start-standalone.sh b/node-commons/src/assembly/resources/sbin/start-standalone.sh
index eb1e10a241..7abbef918a 100644
--- a/node-commons/src/assembly/resources/sbin/start-standalone.sh
+++ b/node-commons/src/assembly/resources/sbin/start-standalone.sh
@@ -37,7 +37,7 @@ else
 fi
 
 nohup bash "$CONFIGNODE_START_PATH" >/dev/null 2>&1 &
-sleep 5
+sleep 3
 nohup bash "$DATANODE_START_PATH" >/dev/null 2>&1 &
 
 echo "Execute start-standalone.sh finished, you can see more details in the logs of confignode and datanode"
diff --git a/node-commons/src/assembly/resources/sbin/stop-standalone.bat b/node-commons/src/assembly/resources/sbin/stop-standalone.bat
index 3eedb9ca5d..791eda0f8f 100644
--- a/node-commons/src/assembly/resources/sbin/stop-standalone.bat
+++ b/node-commons/src/assembly/resources/sbin/stop-standalone.bat
@@ -36,5 +36,5 @@ IF EXIST "%IOTDB_HOME%\sbin\stop-datanode.bat" (
 )
 
 start cmd /c %CONFIGNODE_STOP_PATH%
-TIMEOUT /T 5 /NOBREAK
+TIMEOUT /T 3 /NOBREAK
 start cmd /c %DATANODE_STOP_PATH%
\ No newline at end of file