Skip to content

Wait longer for the database at startup - #1044

Merged
madeofpendletonwool merged 1 commit into
mainfrom
db-startup-wait
Oct 29, 2026
Merged

madeofpendletonwool merged 1 commit into
mainfrom
db-startup-wait

Conversation

@madeofpendletonwool

Copy link
Copy Markdown
Owner
  • Replace the 30-attempt DB wait with a time-based wait (default 5 min, backoff up to 5s)
  • New DB_WAIT_TIMEOUT env var (seconds, 0 = wait forever)
  • Drop the duplicate Postgres wait
  • Clearer error when the DB never comes up

Supersedes #949 without being compose-specific.

@madeofpendletonwool
madeofpendletonwool merged commit 807c508 into main Oct 29, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant