History

Properly disable http pipelining

It's causing memory corruption issues along with image optimization. Rel: #633

Thibaut Courouble committed 9 years ago

Commit ec3bb911 parent 911909f1 file · +1 −1Browse files

Unified · Split

lib/docs/core/requester.rb+1−1
@@ -20,7 +20,7 @@ module Docs · 19 unmodified lines
20 def initialize(options = {})20 def initialize(options = {})
21 @request_options = options.extract!(:request_options)[:request_options].try(:dup) || {}21 @request_options = options.extract!(:request_options)[:request_options].try(:dup) || {}
22 options[:max_concurrency] ||= 2022 options[:max_concurrency] ||= 20
23 options[:pipelining] = 023 options[:pipelining] = false
24 super24 super
25 end25 end
26 26