Skip to content

Waiting for Database... #2

@SurfingNerd

Description

@SurfingNerd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions