lib/griffin/engine/single.rb in griffin-0.1.9 vs lib/griffin/engine/single.rb in griffin-0.2.0
- old
+ new
@@ -6,10 +6,13 @@
module Griffin
module Engine
class Single
def self.create(config)
serv = Griffin::Server.new(
- pool_size: config[:pool_size],
+ min_pool_size: config[:min_pool_size],
+ max_pool_size: config[:max_pool_size],
+ min_connection_size: config[:min_connection_size],
+ max_connection_size: config[:max_connection_size],
interceptors: config[:interceptors],
)
new(serv, config)
end