mirror of
https://github.com/teamcapybara/capybara.git
synced 2022-11-09 12:08:07 -05:00
Add queue_requests = false to default puma config - Issue #2227
This commit is contained in:
parent
9ae0a8c28b
commit
5752b7e0ca
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ Capybara.register_server :puma do |app, port, host, **options|
|
|||
# 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
|
||||
|
||||
|
|
Loading…
Reference in a new issue