summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-11-23 00:06:37 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-11-23 00:06:51 -0800
commit53e352fd718cd2cae6d77298e6e92736dddcfeeb (patch)
tree4c990575e853738f67ba6f381ca1831840ab58a7 /tool/downloader.rb
parent1fea0367d2a09130af71a8304601b4006e552dee (diff)
downloadruby-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.rb2
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