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

[iotdb] branch fix_standalone created (now 0be590d414)

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

caogaofei pushed a change to branch fix_standalone
in repository https://gitbox.apache.org/repos/asf/iotdb.git


      at 0be590d414 change sleep time

This branch includes the following new commits:

     new 0be590d414 change sleep time

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[iotdb] 01/01: change sleep time

Posted by ca...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 0be590d414ecb98e222053693c3d0fd707e05f00
Author: Beyyes <cg...@foxmail.com>
AuthorDate: Mon Nov 28 00:23:07 2022 +0800

    change sleep time
---
 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