Method: Puma::DSL#worker_boot_timeout

Defined in:
lib/puma/dsl.rb

#worker_boot_timeout(timeout) ⇒ Object

Note:

Cluster mode only.

Change the default worker timeout for booting.

The default is the value of worker_timeout.

Examples:

worker_boot_timeout 60

See Also:

  • Cluster::Worker#ping_timeout


1157
1158
1159
# File 'lib/puma/dsl.rb', line 1157

def worker_boot_timeout(timeout)
  @options[:worker_boot_timeout] = Integer(timeout)
end