Object
# File lib/puma/cluster.rb, line 32 def initialize(pid, phase) @pid = pid @phase = phase @stage = :started @signal = "TERM" end
# File lib/puma/cluster.rb, line 45 def boot! @stage = :booted end
# File lib/puma/cluster.rb, line 41 def booted? @stage == :booted end
# File lib/puma/cluster.rb, line 49 def term begin if @first_term_sent && (Time.new - @first_term_sent) > 30 @signal = "KILL" else @first_term_sent ||= Time.new end Process.kill @signal, @pid rescue Errno::ESRCH end end
[Validate]
Generated with the Darkfish Rdoc Generator 2.