From 00f47e25d32634b6076fc115a3aeb8a3cecd37ce Mon Sep 17 00:00:00 2001 From: yangyan Date: Wed, 4 Mar 2020 21:01:32 +0800 Subject: Fix timeout error Change-Id: I99c2ff6e072bdc688c93b6e253b5dc3e2208aa9a Issue-ID: VFC-1626 Signed-off-by: yangyan --- .../src/main/assembly/docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh b/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh index 9e4372d..f90a215 100755 --- a/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh +++ b/ems/microservice-standalone/src/main/assembly/docker/docker-entrypoint.sh @@ -14,7 +14,7 @@ echo "MSB_ADDR=$MSB_ADDR" # Wait for MSB initialization echo "Wait for MSB initialization" -for i in {1..20}; do +for i in {1..5}; do curl -sS -m 1 $MSB_PROTO://$MSB_ADDR/msb -k > /dev/null res=$? if [ $res -ne 0 ]; then -- cgit 1.2.3-korg