class Puma::Cluster
def worker(index, master)
def worker(index, master) @workers = [] @master_read.close @suicide_pipe.close @fork_writer.close pipes = { check_pipe: @check_pipe, worker_write: @worker_write } if @options[:fork_worker] pipes[:fork_pipe] = @fork_pipe pipes[:wakeup] = @wakeup end server = start_server if preload? new_worker = Worker.new index: index, master: master, launcher: @launcher, pipes: pipes, server: server new_worker.run end