Unverified Commit 871a4b4d authored by Kroese's avatar Kroese Committed by GitHub
Browse files

feat: Increase curl max-time to 15 seconds

Increased the maximum time for curl command from 10 to 15 seconds.
parent ec011b8f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ pipe() {
  local code="99"
  msg="Failed to connect to $1, reason:"

  curl --disable --silent --max-time 10 --fail --location "${1}" || {
  curl --disable --silent --max-time 15 --fail --location "${1}" || {
    code="$?"
  }