Skip to content

Commit

Permalink
Merge pull request #7 from bigbite/dev
Browse files Browse the repository at this point in the history
Wait longer for DB to be active
  • Loading branch information
Liam Defty authored Apr 7, 2020
2 parents 9515b29 + 88a3f89 commit b72aac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ chown "www-data:www-data" .htaccess

until mysqladmin ping -h"$WP_DB_HOST" --silent &> /dev/null
do
((c++)) && ((c==10)) && break
((c++)) && ((c==30)) && break
sleep 2
done

Expand Down

0 comments on commit b72aac5

Please sign in to comment.