Skip to content

Commit

Permalink
Add queue_requests = false to default puma config - Issue #2227
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Jul 8, 2019
1 parent 9ae0a8c commit 5752b7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/registrations/servers.rb
Expand Up @@ -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

Expand Down

0 comments on commit 5752b7e

Please sign in to comment.