Method: Puma::DSL#first_data_timeout
- Defined in:
- lib/puma/dsl.rb
#first_data_timeout(seconds) ⇒ Object
Define how long the tcp socket stays open, if no data has been received.
The default is 30 seconds.
343 344 345 |
# File 'lib/puma/dsl.rb', line 343 def first_data_timeout(seconds) [:first_data_timeout] = Integer(seconds) end |