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

Increase the # of downloader.rb's retry attempts

Apparently 9 was not enough either.
https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel_zlinux/ruby-master/log/20201123T063303Z.fail.html.gz
This commit is contained in:
Takashi Kokubun 2020-11-23 00:06:37 -08:00
parent 1fea0367d2
commit 53e352fd71
No known key found for this signature in database
GPG key ID: 6FFC433B12EE23DD

View file

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