class Puma::DSL
def worker_timeout(timeout)
- See: Puma::Cluster::Worker#ping_timeout -
Other tags:
- Note: - Cluster mode only.
def worker_timeout(timeout) timeout = Integer(timeout) min = @options.fetch(:worker_check_interval, Configuration::DEFAULTS[:worker_check_interval]) if timeout <= min raise "The minimum worker_timeout must be greater than the worker reporting interval (#{min})" end @options[:worker_timeout] = timeout end