class Puma::Cluster

def timeout_workers

Other tags:
    Version: - 5.0.0
def timeout_workers
  @workers.each do |w|
    if !w.term? && w.ping_timeout <= Time.now
      details = if w.booted?
                  "(Worker #{w.index} failed to check in within #{@options[:worker_timeout]} seconds)"
                else
                  "(Worker #{w.index} failed to boot within #{@options[:worker_boot_timeout]} seconds)"
                end
      log "! Terminating timed out worker #{details}: #{w.pid}"
      w.kill
    end
  end
end