Upped the timeout for curl to 15 seconds
This commit is contained in:
parent
ba3472b28c
commit
5400883bd9
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user