some whitespace stuff

This commit is contained in:
rick 2010-10-05 11:39:13 -07:00
parent 647c8fe6e1
commit 176c647bdf
2 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ module Faraday
def call(env)
super
hydra = env[:parallel_manager] || self.class.setup_parallel_manager
req = ::Typhoeus::Request.new env[:url].to_s,
:method => env[:method],
:body => env[:body],
@ -35,6 +35,7 @@ module Faraday
env[:response].finish(env)
end
hydra = env[:parallel_manager] || self.class.setup_parallel_manager
hydra.queue req
if !env[:parallel_manager]