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

Waiting for Database... #2

Open
SurfingNerd opened this issue Oct 2, 2020 · 0 comments
Open

Waiting for Database... #2

SurfingNerd opened this issue Oct 2, 2020 · 0 comments

Comments

@SurfingNerd
Copy link
Owner

SurfingNerd commented Oct 2, 2020

Blockscout and the DB are in a race during startup.
Blockscout should wait for the DB to be available.

currently it just sleeps 5 seconds, what should work on most machines - but could be done better:

echo "waiting 5 seconds for DB..."
sleep 5
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

No branches or pull requests

1 participant