File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ while IFS=: read -r filepath url; do
1717 printf ' \n%s:\n' " $filepath "
1818 last_filepath=$filepath
1919 fi
20- code=$( curl -gsLm60 --retry 3 --retry-delay 3 --retry-connrefused -o /dev/null -w " %{http_code}" -I " $url " ) || code=000
20+ code=$( curl -gsLm30 --retry 3 --retry-delay 3 --retry-connrefused -o /dev/null -w " %{http_code}" -I " $url " ) || code=000
2121 if [ " $code " -lt 200 ] || [ " $code " -ge 400 ]; then
22- code=$( curl -gsLm60 --retry 3 --retry-delay 3 --retry-connrefused -o /dev/null -w " %{http_code}" -r 0-0 -A " $user_agent " " $url " ) || code=000
22+ code=$( curl -gsLm30 --retry 3 --retry-delay 3 --retry-connrefused -o /dev/null -w " %{http_code}" -r 0-0 -A " $user_agent " " $url " ) || code=000
2323 fi
2424 if [ " $code " -lt 200 ] || [ " $code " -ge 400 ]; then
2525 request_id=$( curl -sS -H ' Accept: application/json' " https://check-host.net/check-http?host=$url &max_nodes=1&node=us3.node.check-host.net" \
You can’t perform that action at this time.
0 commit comments