Skip to content

Commit 8e1af32

Browse files
sleep 0.5 is not always supported
1 parent 1bf2cd6 commit 8e1af32

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tool/neo4j/start-server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sudo nohup neo4j start >&/dev/null &
44

55
# wait until ready
66
set +e
7-
POLL_INTERVAL_SECS=0.5
7+
POLL_INTERVAL_SECS=1
88
RETRY_NUM=20
99
while [[ $RETRY_NUM -gt 0 ]]; do
1010
lsof -i :7687 > /dev/null

tool/typedb2/start-server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tmux new-session -d -s "typedb" "./$DISTRIBUTION_DIR/typedb server > ./$DISTRIBU
99

1010
# wait until ready
1111
set +e
12-
POLL_INTERVAL_SECS=0.5
12+
POLL_INTERVAL_SECS=1
1313
RETRY_NUM=20
1414
while [[ $RETRY_NUM -gt 0 ]]; do
1515
lsof -i :1729 > /dev/null

tool/typedb3/start-server.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ tmux new-session -d -s "typedb" "./$DISTRIBUTION_DIR/typedb server --diagnostics
99

1010
# wait until ready
1111
set +e
12-
POLL_INTERVAL_SECS=0.5
12+
POLL_INTERVAL_SECS=1
1313
RETRY_NUM=20
1414
while [[ $RETRY_NUM -gt 0 ]]; do
1515
lsof -i :1729 > /dev/null

0 commit comments

Comments
 (0)