mirror of https://github.com/OpenVidu/openvidu.git
openvidu-deployment: Add timeout in WAIT_KIBANA_URL to avoid possible blocked connections
parent
933ac7b2f8
commit
be8e094044
|
@ -8,7 +8,7 @@ if [ ! -z "${WAIT_KIBANA_URL}" ]; then
|
||||||
printf "\n ======================================="
|
printf "\n ======================================="
|
||||||
printf "\n"
|
printf "\n"
|
||||||
|
|
||||||
until $(curl --insecure --output /dev/null --silent --head --fail ${WAIT_KIBANA_URL})
|
until $(curl --insecure --output /dev/null --silent --head --fail --max-time 10 --connect-timeout 10 ${WAIT_KIBANA_URL})
|
||||||
do
|
do
|
||||||
printf "\n Waiting for kibana in '%s' URL..." "${WAIT_KIBANA_URL}"
|
printf "\n Waiting for kibana in '%s' URL..." "${WAIT_KIBANA_URL}"
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
Loading…
Reference in New Issue