Class: BBK::App::SimplePoolFactory

Inherits:
Object
  • Object
show all
Defined in:
lib/bbk/app/dispatcher.rb

Class Method Summary collapse

Class Method Details

.call(pool_size, queue_size) ⇒ Object



17
18
19
# File 'lib/bbk/app/dispatcher.rb', line 17

def self.call(pool_size, queue_size)
  BBK::App::ThreadPool.new(pool_size, queue: queue_size)
end