lib/grumlin.rb in grumlin-0.6.1 vs lib/grumlin.rb in grumlin-0.6.2

- old
+ new

@@ -41,13 +41,12 @@ module Grumlin class Config attr_accessor :url, :pool_size, :client_concurrency, :client_factory - # For some reason, client_concurrency must be greater than pool_size def initialize @pool_size = 10 - @client_concurrency = 20 + @client_concurrency = 2 @client_factory = ->(url, parent) { Grumlin::Client.new(url, parent: parent) } end def default_pool @default_pool ||= Async::Pool::Controller.new(Grumlin::Client::PoolResource, limit: pool_size)