lib/grumlin.rb in grumlin-0.6.2 vs lib/grumlin.rb in grumlin-0.7.0
- old
+ new
@@ -43,10 +43,10 @@
class Config
attr_accessor :url, :pool_size, :client_concurrency, :client_factory
def initialize
@pool_size = 10
- @client_concurrency = 2
+ @client_concurrency = 5
@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)