Merge pull request #14496 from Rylan12/update-max-time

`update`: increase max time for API JSON updates
This commit is contained in:
Rylan Polster 2023-02-03 13:48:27 -05:00 committed by GitHub
commit 6b5b786f20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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}" \