class Servolux::Prefork
def add_workers( number = 1 )
the number set in :max_workers
Adds additional workers to the pool. It will not add more workers than
add_workers( number = 1 )
call-seq:
def add_workers( number = 1 ) number.times do break if at_max_workers? worker = Worker.new(self, @config) worker.extend @module worker.start @workers << worker pause end end