diff options
author | Takashi Kokubun <takashikkbn@gmail.com> | 2019-04-27 22:21:34 +0900 |
---|---|---|
committer | Takashi Kokubun <takashikkbn@gmail.com> | 2019-04-27 22:21:36 +0900 |
commit | 3067370f611b16955a8064116092e5f0f9f126a7 (patch) | |
tree | 936dca639938813450b51b6549b6bca54f6a0c0c /tool | |
parent | 9348643575d7a744f3e404d9069a0d29f97960a0 (diff) | |
download | ruby-3067370f611b16955a8064116092e5f0f9f126a7.tar.gz |
Retry downloads more for unicode outage
like https://ci.appveyor.com/project/ruby/ruby/builds/24142523/job/v6aq4srj7c3hgt86
Diffstat (limited to 'tool')
-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 d46ffa671a..29cf435f19 100644 --- a/tool/downloader.rb +++ b/tool/downloader.rb @@ -192,7 +192,7 @@ class Downloader $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 |