mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
download_strategy: Fix the timeout value.
This commit is contained in:
parent
e191b827cc
commit
a63ccfa8ff
@ -202,7 +202,7 @@ class VCSDownloadStrategy < AbstractDownloadStrategy
|
|||||||
|
|
||||||
if cached_location.exist? && repo_valid?
|
if cached_location.exist? && repo_valid?
|
||||||
puts "Updating #{cached_location}"
|
puts "Updating #{cached_location}"
|
||||||
update(timeout: timeout)
|
update(timeout: end_time)
|
||||||
elsif cached_location.exist?
|
elsif cached_location.exist?
|
||||||
puts "Removing invalid repository from cache"
|
puts "Removing invalid repository from cache"
|
||||||
clear_cache
|
clear_cache
|
||||||
|
Loading…
x
Reference in New Issue
Block a user