Open SurfingNerd opened 3 years ago
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
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: