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.
271 272 273 |
# File 'lib/puma/dsl.rb', line 271 def first_data_timeout(seconds) @options[:first_data_timeout] = Integer(seconds) end |