[metactl.post-start] database socket timeout from 0.1 to 1

This commit is contained in:
xdrm-brackets 2018-03-21 01:18:44 +01:00
parent 728f4f3e71
commit 385f0dd97c
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ DB_RESTORED="$?";
while [ "$DB_RESTORED" == "1" ]; do
sleep .5;
echo -ne ".";
timeout .1 docker exec $MARIADB_SERVICE mysql -uroot -p$MARIADB_ROOT_PASSWORD 2>/dev/null;
timeout 1 docker exec $MARIADB_SERVICE mysql -uroot -p$MARIADB_ROOT_PASSWORD 2>/dev/null;
DB_RESTORED="$?";
done;