Skip to content

Commit

Permalink
Don't set timeout, leave the defaults as they are
Browse files Browse the repository at this point in the history
Change of heart. html-proofer should not be opinionated here.
  • Loading branch information
gjtorikian committed Jul 9, 2014
1 parent 31d31de commit 07b06d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/html/proofer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def run
Ethon.logger = logger # log from Typhoeus/Ethon

external_urls.each_pair do |href, filenames|
request = Typhoeus::Request.new(href, @options.merge({:method => :head, :timeout => 100}))
request = Typhoeus::Request.new(href, @options.merge({:method => :head}))
request.on_complete { |response| response_handler(response, filenames) }
hydra.queue request
end
Expand Down

0 comments on commit 07b06d4

Please sign in to comment.