update: increase max time for API JSON updates

This commit is contained in:
Rylan Polster 2023-02-03 19:16:30 +01:00
parent 6a8dd4ff52
commit 9e280f2c44
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -780,7 +780,7 @@ EOS
fi
curl \
"${CURL_DISABLE_CURLRC_ARGS[@]}" \
--fail --compressed --silent --max-time 5 \
--fail --compressed --silent --max-time 10 \
--location --remote-time --output "${HOMEBREW_CACHE}/api/${formula_or_cask}.json" \
--time-cond "${HOMEBREW_CACHE}/api/${formula_or_cask}.json" \
--user-agent "${HOMEBREW_USER_AGENT_CURL}" \