From cc02077bf42f33c7de82e49934e9004c2d131540 Mon Sep 17 00:00:00 2001 From: czarly <379651+czarly@users.noreply.github.com> Date: Fri, 25 Mar 2022 04:22:14 +0400 Subject: [PATCH] robust snapshot download --- polygon/bor/scripts/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polygon/bor/scripts/entrypoint.sh b/polygon/bor/scripts/entrypoint.sh index e6bc953d..efa50e2d 100755 --- a/polygon/bor/scripts/entrypoint.sh +++ b/polygon/bor/scripts/entrypoint.sh @@ -31,7 +31,7 @@ if [ "${BOOTSTRAP}" == 1 ] && [ -n "${SNAPSHOT_URL}" ] && [ ! -f "${BOR_HOME}/bo then echo "downloading snapshot from ${SNAPSHOT_URL}" mkdir -p ${BOR_HOME}/bor/chaindata - wget --tries=0 --wait=10 --waitretry=5 -O - "${SNAPSHOT_URL}" | tar -xz -C ${BOR_HOME}/bor/chaindata && touch ${BOR_HOME}/bootstrapped + wget --tries=0 -O - "${SNAPSHOT_URL}" | tar -xz -C ${BOR_HOME}/bor/chaindata && touch ${BOR_HOME}/bootstrapped fi READY=$(curl -s http://heimdalld:26657/status | jq '.result.sync_info.catching_up')