Properly disable http pipelining

It's causing memory corruption issues along with image optimization.
Rel: #633
pull/631/merge
Thibaut Courouble 8 years ago
parent 911909f679
commit ec3bb9169d

@ -20,7 +20,7 @@ module Docs
def initialize(options = {}) def initialize(options = {})
@request_options = options.extract!(:request_options)[:request_options].try(:dup) || {} @request_options = options.extract!(:request_options)[:request_options].try(:dup) || {}
options[:max_concurrency] ||= 20 options[:max_concurrency] ||= 20
options[:pipelining] = 0 options[:pipelining] = false
super super
end end

Loading…
Cancel
Save