Upped the timeout for curl to 15 seconds

This commit is contained in:
Nathan 2019-11-16 10:16:00 -06:00
parent ba3472b28c
commit 5400883bd9

View File

@ -437,7 +437,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
end end
def curl(*args, **options) def curl(*args, **options)
args << "--connect-timeout" << "5" unless mirrors.empty? args << "--connect-timeout" << "15" unless mirrors.empty?
super(*_curl_args, *args, **_curl_opts, **options) super(*_curl_args, *args, **_curl_opts, **options)
end end
end end