From 48efc4fc65adde4ccdbe79afbdcb7a525c7b809a Mon Sep 17 00:00:00 2001 From: Sebastian <379651+czarly@users.noreply.github.com> Date: Tue, 18 Mar 2025 13:12:31 +0100 Subject: [PATCH] timeout everytwhere --- check-health.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check-health.sh b/check-health.sh index 19fa2adf..3fe09031 100755 --- a/check-health.sh +++ b/check-health.sh @@ -24,7 +24,7 @@ if [ $? -eq 0 ]; then latest_block_hash=$(echo "$response" | jq -r '.result.hash') response_file2=$(mktemp) - sleep 2 # to give the reference node more time to import the block if it is very current + sleep 3 # to give the reference node more time to import the block if it is very current http_status_code2=$(curl --ipv4 -m $timeout -s -X POST -w "%{http_code}" -o "$response_file2" -H "Content-Type: application/json" --data "{\"jsonrpc\":\"2.0\",\"method\":\"eth_getBlockByNumber\",\"params\":[\"$latest_block_number\", false],\"id\":1}" $ref)