mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-06-08 09:27:45 +08:00
Increase curl timeout
This commit is contained in:
parent
04cf3396c4
commit
86de4da3ca
@ -2,7 +2,7 @@
|
|||||||
set -u
|
set -u
|
||||||
|
|
||||||
# Retrieve guest info for Docker healthcheck
|
# Retrieve guest info for Docker healthcheck
|
||||||
RESPONSE=$(curl -s -m 5 -S http://127.0.0.1:2210/read?command=10 2>&1)
|
RESPONSE=$(curl -s -m 6 -S http://127.0.0.1:2210/read?command=10 2>&1)
|
||||||
|
|
||||||
if [[ ! "${RESPONSE}" =~ "\"success\"" ]] ; then
|
if [[ ! "${RESPONSE}" =~ "\"success\"" ]] ; then
|
||||||
echo "Failed to connect to guest: $RESPONSE"
|
echo "Failed to connect to guest: $RESPONSE"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user