fix(docker): recognize current gateway readiness logs

This commit is contained in:
Peter Steinberger
2026-04-27 07:51:58 +01:00
parent 4a30ae182b
commit 18b6c3bb61
2 changed files with 2 additions and 2 deletions

View File

@@ -238,7 +238,7 @@ start_gateway() {
# Cold bundled dependency staging can exceed 60s under 10-way Docker aggregate load.
for _ in $(seq 1 1200); do
if grep -Eq "listening on ws://|\\[gateway\\] ready \\(" "$log_file"; then
if grep -Eq "listening on ws://|\\[gateway\\] http server listening|\\[gateway\\] ready( \\(|$)" "$log_file"; then
return 0
fi
if ! kill -0 "$gateway_pid" 2>/dev/null; then

View File

@@ -109,7 +109,7 @@ start_gateway() {
# Cold bundled dependency staging can exceed 60s under 10-way Docker aggregate load.
for _ in $(seq 1 1200); do
if grep -Eq "listening on ws://|\\[gateway\\] ready \\(" "$log_file"; then
if grep -Eq "listening on ws://|\\[gateway\\] http server listening|\\[gateway\\] ready( \\(|$)" "$log_file"; then
return 0
fi
if ! kill -0 "$gateway_pid" 2>/dev/null; then