1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Retry downloads more for unicode outage

like https://ci.appveyor.com/project/ruby/ruby/builds/24142523/job/v6aq4srj7c3hgt86
This commit is contained in:
Takashi Kokubun 2019-04-27 22:21:34 +09:00
parent 9348643575
commit 3067370f61
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

@ -192,7 +192,7 @@ class Downloader
$stdout.flush
end
begin
data = with_retry(6) do
data = with_retry(9) do
url.read(options.merge(http_options(file, since.nil? ? true : since)))
end
rescue OpenURI::HTTPError => http_error