Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database connections could wait for availability instead of failing directly #588

Open
fmartingr opened this issue Mar 5, 2023 · 0 comments

Comments

@fmartingr
Copy link
Member

fmartingr commented Mar 5, 2023

Databases could use a Wait() where they try to check for database readyness before conecting, instead of just connecting directly (and failing if not ready).

  • This should be configurable behind a flag (--wait-for-db that defaults to false)
  • While doing so, figure out a way to propagate the database state to other shiori domains, so we can create a proper liveness endpoint that returns a non-ok status code if the database is not ready.

From #587

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

1 participant