mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-01-12 22:43:42 +08:00
boost delay for node boot-up
This commit is contained in:
@@ -414,7 +414,7 @@ wait_node() {
|
||||
;;
|
||||
esac
|
||||
local CNT=0
|
||||
for CNT in $(seq 1 120); do
|
||||
for CNT in $(seq 1 360); do
|
||||
curl -sLf "http://$RPC_HOST:$RPC_PORT/v2/info" >/dev/null 2>&1
|
||||
if [ $? -eq 0 ]; then
|
||||
return 0
|
||||
|
||||
Reference in New Issue
Block a user