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.

See Also:

  • Server.new


265
266
267
# File 'lib/puma/dsl.rb', line 265

def persistent_timeout(seconds)
  @options[:persistent_timeout] = Integer(seconds)
end