Skip to content

Commit

Permalink
Fix timing in waiters for blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
vklachkov committed Sep 30, 2024
1 parent a903c5f commit 093ae31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js-packages/scripts/wait_for_first_block.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ while ! had_new_block ; do
echo "Waiting for another block..."
counter=$((counter+1))
echo "counter="$counter
sleep 12
sleep 6
if [ $counter -gt 400 ]; then
exit 1;
fi
Expand All @@ -47,7 +47,7 @@ while ! had_new_block ; do
echo "Waiting for another block..."
counter=$((counter+1))
echo "counter="$counter
sleep 12
sleep 6
if [ $counter -gt 400 ]; then
exit 1;
fi
Expand Down

0 comments on commit 093ae31

Please sign in to comment.