Increase curl timeout

This commit is contained in:
Kroese 2023-05-08 22:46:59 +02:00 committed by GitHub
parent 04cf3396c4
commit 86de4da3ca

View File

@ -2,7 +2,7 @@
set -u
# 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
echo "Failed to connect to guest: $RESPONSE"