diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2020-11-23 00:06:37 -0800 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2020-11-23 00:06:51 -0800 |
commit | 53e352fd718cd2cae6d77298e6e92736dddcfeeb (patch) | |
tree | 4c990575e853738f67ba6f381ca1831840ab58a7 /tool/downloader.rb | |
parent | 1fea0367d2a09130af71a8304601b4006e552dee (diff) | |
download | ruby-53e352fd718cd2cae6d77298e6e92736dddcfeeb.tar.gz |
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
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r-- | tool/downloader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb index 21f4aab3c3..d09afc5ad7 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -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 |