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 $stdout.flush
end end
begin begin
data = with_retry(9) do data = with_retry(10) do
url.read(options.merge(http_options(file, since.nil? ? true : since))) url.read(options.merge(http_options(file, since.nil? ? true : since)))
end end
rescue OpenURI::HTTPError => http_error rescue OpenURI::HTTPError => http_error