Merge pull request #6750 from MrKumaPants/curl-fix

Upped the timeout for curl to 15 seconds to match other code
This commit is contained in:
Mike McQuaid 2019-11-20 12:46:18 +00:00 committed by GitHub
commit b62758a763
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -437,7 +437,7 @@ class CurlDownloadStrategy < AbstractFileDownloadStrategy
end
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)
end
end