feat: add timeout and retry to web_check()

This commit is contained in:
Martin Wimpress 2024-05-22 08:22:11 -04:00 committed by Martin Wimpress
parent 7bfeb7721e
commit 1fea6b46c2
1 changed files with 1 additions and 1 deletions

View File

@ -1307,7 +1307,7 @@ function web_check() {
shift shift
fi fi
done done
curl --silent --location --head --output /dev/null --fail "${HEADERS[@]}" "${URL}" curl --silent --location --head --output /dev/null --fail --connect-timeout 30 --max-time 30 --retry 3 "${HEADERS[@]}" "${URL}"
} }
function zsync_get() { function zsync_get() {