Method: Puma::DSL#persistent_timeout
- Defined in:
- lib/puma/dsl.rb
#persistent_timeout(seconds) ⇒ Object
Define how long persistent connections can be idle before Puma closes them.
The default is 20 seconds.
359 360 361 |
# File 'lib/puma/dsl.rb', line 359 def persistent_timeout(seconds) @options[:persistent_timeout] = Integer(seconds) end |