This commit is contained in:
Dane Everitt 2020-11-14 13:58:51 -08:00
parent 83707079e8
commit 7df3c1d013
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
3 changed files with 5 additions and 5 deletions

View file

@ -58,8 +58,8 @@ echo "Checking database status."
until nc -z -v -w30 $DB_HOST 3306
do
echo "Waiting for database connection..."
# wait for 5 seconds before check again
sleep 5
# wait for 1 seconds before check again
sleep 1
done
## make sure the db is set up