mirror of
https://github.com/lostisland/faraday.git
synced 2025-12-15 00:03:17 -05:00
some whitespace stuff
This commit is contained in:
parent
647c8fe6e1
commit
176c647bdf
@ -16,7 +16,7 @@ module Faraday
|
|||||||
def call(env)
|
def call(env)
|
||||||
super
|
super
|
||||||
|
|
||||||
hydra = env[:parallel_manager] || self.class.setup_parallel_manager
|
|
||||||
req = ::Typhoeus::Request.new env[:url].to_s,
|
req = ::Typhoeus::Request.new env[:url].to_s,
|
||||||
:method => env[:method],
|
:method => env[:method],
|
||||||
:body => env[:body],
|
:body => env[:body],
|
||||||
@ -35,6 +35,7 @@ module Faraday
|
|||||||
env[:response].finish(env)
|
env[:response].finish(env)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
hydra = env[:parallel_manager] || self.class.setup_parallel_manager
|
||||||
hydra.queue req
|
hydra.queue req
|
||||||
|
|
||||||
if !env[:parallel_manager]
|
if !env[:parallel_manager]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user