From 9e280f2c44204c663eb32e6f140bd1dd18de7c57 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Fri, 3 Feb 2023 19:16:30 +0100 Subject: [PATCH] `update`: increase max time for API JSON updates --- Library/Homebrew/cmd/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/update.sh b/Library/Homebrew/cmd/update.sh index e3d0e2b415..63a5a97953 100644 --- a/Library/Homebrew/cmd/update.sh +++ b/Library/Homebrew/cmd/update.sh @@ -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}" \