download_strategy: Fix the timeout value.

This commit is contained in:
Ilya Kulakov 2023-04-28 10:11:24 -07:00
parent e191b827cc
commit a63ccfa8ff

View File

@ -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