Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
[fetcher] stop retrying on known failure errors
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect authored and segiddins committed Jan 25, 2016
1 parent 39be08e commit 76093cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/fetcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ def fetch_spec(spec)

# return the specs in the bundler format as an index with retries
def specs_with_retry(gem_names, source)
Bundler::Retry.new("fetcher").attempts do
Bundler::Retry.new("fetcher", FAIL_ERRORS).attempts do
specs(gem_names, source)
end
end
Expand Down

0 comments on commit 76093cb

Please sign in to comment.