[metactl.post-start] database socket timeout from 0.1 to 1
This commit is contained in:
parent
728f4f3e71
commit
385f0dd97c
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue