Skip to content

Add init container to check Postgres is ready - #14

Draft
djfarrelly wants to merge 1 commit into
mainfrom
task/check-pg-isready-on-init
Draft

Add init container to check Postgres is ready#14
djfarrelly wants to merge 1 commit into
mainfrom
task/check-pg-isready-on-init

Conversation

@djfarrelly

Copy link
Copy Markdown
Contributor

This is one potential path to ensure that the Postgres container is running prior to attempting to connect to it from the inngest container. During initial deployment, the inngest container typically crashes because it starts up faster than Postgres or Redis.

This is one potential option that could alleviate this issue, but does not consider:

  1. Max time of the init contianer
  2. If Redis starts up after Postgres

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