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:
parent
1fea0367d2
commit
53e352fd71
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user