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.
356 357 358 |
# File 'lib/puma/dsl.rb', line 356 def persistent_timeout(seconds) [:persistent_timeout] = Integer(seconds) end |