From a63ccfa8ff5c6e8479ac3934d54f8fc7af71a5bd Mon Sep 17 00:00:00 2001 From: Ilya Kulakov Date: Fri, 28 Apr 2023 10:11:24 -0700 Subject: [PATCH] download_strategy: Fix the timeout value. --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 3d2bed473e..0b7ac2addf 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -202,7 +202,7 @@ class VCSDownloadStrategy < AbstractDownloadStrategy if cached_location.exist? && repo_valid? puts "Updating #{cached_location}" - update(timeout: timeout) + update(timeout: end_time) elsif cached_location.exist? puts "Removing invalid repository from cache" clear_cache