diff --git a/docker-compose.yml b/docker-compose.yml index 18305fe..c21b9b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -371,9 +371,9 @@ services: restart: unless-stopped healthcheck: test: ["CMD", "curl", "--fail", "--silent", "--show-error", "--max-time", "9", "--header", "Content-Type: application/json", "--data", '[{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1},{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}]', "http://localhost:8545/api/health"] - interval: 1m30s - timeout: 10s - retries: 3 + interval: 10s + timeout: 1s + retries: 10 graph-node-fastchain: container_name: streamr-dev-thegraph-node-fastchain image: graphprotocol/graph-node:v0.32.0 diff --git a/streamr-docker-dev/bin.sh b/streamr-docker-dev/bin.sh index c9f25ae..6d7e625 100755 --- a/streamr-docker-dev/bin.sh +++ b/streamr-docker-dev/bin.sh @@ -173,13 +173,13 @@ wait() { done if [ ${#waiting_for_services[@]} -gt 0 ]; then - if (( time_waited >= 60 )); then + if (( time_waited >= 30 )); then echo "***********************************" echo "Still waiting for the following services:" for s in "${waiting_for_services[@]}"; do echo "$s"; done fi - sleep 5 - time_waited=$((time_waited+5)) + sleep 1s + time_waited=$((time_waited+1)) else echo "All services up and running." break