瀏覽代碼

Increase default :max_concurrency

Thibaut 12 年之前
父節點
當前提交
6e9c16a1fc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/docs/core/requester.rb

+ 1 - 1
lib/docs/core/requester.rb

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