1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Start control server with queue_requests: false

This is required in order to prevent the nio4r gem from being loaded
into the puma master process in a puma cluster.
This commit is contained in:
Chris LaRose 2020-12-16 19:49:05 -08:00
parent 94fbed6335
commit 2a33a6034f

View file

@ -55,7 +55,7 @@ module Puma
app = Puma::App::Status.new @launcher, token
control = Puma::Server.new app, @launcher.events,
{ min_threads: 0, max_threads: 1 }
{ min_threads: 0, max_threads: 1, queue_requests: false }
control.binder.parse [str], self, 'Starting control server'