From 385f0dd97cbd854d53412dd739700b7920d51581 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Wed, 21 Mar 2018 01:18:44 +0100 Subject: [PATCH] [metactl.post-start] database socket timeout from 0.1 to 1 --- metactl/post-start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metactl/post-start.sh b/metactl/post-start.sh index f1fa2d4..0fd4d65 100644 --- a/metactl/post-start.sh +++ b/metactl/post-start.sh @@ -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;