From 8c0719f2e02ae5d9808c5273edd42f1df89223af Mon Sep 17 00:00:00 2001 From: Chomtana Date: Sat, 30 Dec 2023 10:42:47 +0700 Subject: [PATCH] fix: reduce initialized.txt check interval --- scripts/start-op-geth.sh | 2 +- scripts/start-op-node.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/start-op-geth.sh b/scripts/start-op-geth.sh index 3980d01..7e1ce45 100755 --- a/scripts/start-op-geth.sh +++ b/scripts/start-op-geth.sh @@ -4,7 +4,7 @@ set -eou # Wait for the Bedrock flag for this network to be set. while [ ! -f /shared/initialized.txt ]; do echo "Waiting for Bedrock node to initialize..." - sleep 60 + sleep 1 done if [ -z "${IS_CUSTOM_CHAIN+x}" ]; then diff --git a/scripts/start-op-node.sh b/scripts/start-op-node.sh index d26d4a2..93e795c 100755 --- a/scripts/start-op-node.sh +++ b/scripts/start-op-node.sh @@ -4,7 +4,7 @@ set -eou # Wait for the Bedrock flag for this network to be set. while [ ! -f /shared/initialized.txt ]; do echo "Waiting for Bedrock node to initialize..." - sleep 60 + sleep 1 done if [ -n "${IS_CUSTOM_CHAIN+x}" ]; then