diff --git a/lib/capybara/registrations/servers.rb b/lib/capybara/registrations/servers.rb index 92f1dee29..34a40ef04 100644 --- a/lib/capybara/registrations/servers.rb +++ b/lib/capybara/registrations/servers.rb @@ -23,7 +23,7 @@ # If we just run the Puma Rack handler it installs signal handlers which prevent us from being able to interrupt tests. # Therefore construct and run the Server instance ourselves. # Rack::Handler::Puma.run(app, { Host: host, Port: port, Threads: "0:4", workers: 0, daemon: false }.merge(options)) - options = { Host: host, Port: port, Threads: '0:4', workers: 0, daemon: false }.merge(options) + options = { Host: host, Port: port, Threads: '0:4', workers: 0, daemon: false, queue_requests: false }.merge(options) conf = Rack::Handler::Puma.config(app, options) events = conf.options[:Silent] ? ::Puma::Events.strings : ::Puma::Events.stdio