ruby-changes:55556
From: Takashi <ko1@a...>
Date: Sat, 27 Apr 2019 22:22:09 +0900 (JST)
Subject: [ruby-changes:55556] Takashi Kokubun:3067370f61 (trunk): Retry downloads more for unicode outage
https://git.ruby-lang.org/ruby.git/commit/?id=3067370f61 From 3067370f611b16955a8064116092e5f0f9f126a7 Mon Sep 17 00:00:00 2001 From: Takashi Kokubun <takashikkbn@g...> Date: Sat, 27 Apr 2019 22:21:34 +0900 Subject: Retry downloads more for unicode outage like https://ci.appveyor.com/project/ruby/ruby/builds/24142523/job/v6aq4srj7c3hgt86 diff --git a/tool/downloader.rb b/tool/downloader.rb index d46ffa6..29cf435 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -192,7 +192,7 @@ class Downloader https://github.com/ruby/ruby/blob/trunk/tool/downloader.rb#L192 $stdout.flush end begin - data = with_retry(6) do + data = with_retry(9) do url.read(options.merge(http_options(file, since.nil? ? true : since))) end rescue OpenURI::HTTPError => http_error -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/