diff --git a/install-graylog.sh b/install-graylog.sh index c30a016..4c4418d 100644 --- a/install-graylog.sh +++ b/install-graylog.sh @@ -219,9 +219,9 @@ wait_for_api_ready() { local waited=0 while true; do gcurl GET /system/indices/index_sets | python3 -c "import json,sys;json.load(sys.stdin)" 2>/dev/null && break - waited=$((waited + 3)) - [ "$waited" -ge 60 ] && die "Graylog REST API did not respond with valid JSON within 60s of the container reporting healthy." - sleep 3 + waited=$((waited + 5)) + [ "$waited" -ge 180 ] && die "Graylog REST API did not respond with valid JSON within 180s of the container reporting healthy." + sleep 5 done ok "Graylog REST API is ready" }