Downloads::File#http_get_streaming: clean up retry logic.

Replace handrolled retry logic with retriable gem (already pulled in by another gem).
This commit is contained in:
evazion
2018-09-18 02:10:20 -05:00
parent 96e89cecfb
commit d3c135ec72
4 changed files with 29 additions and 43 deletions

View File

@@ -50,6 +50,7 @@ gem 'activemodel-serializers-xml'
gem 'ptools'
gem 'jquery-rails'
gem 'webpacker', '>= 4.0.x'
gem 'retriable'
# needed for looser jpeg header compat
gem 'ruby-imagespec', :require => "image_spec", :git => "https://github.com/r888888888/ruby-imagespec.git", :branch => "exif-fixes"