1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

Capitalize PID in log output

This commit is contained in:
Nate Berkopec 2020-11-30 09:29:57 -07:00
parent ee3341d670
commit f13d02cb74
No known key found for this signature in database
GPG key ID: BDD7A4B8E43906A6

View file

@ -114,7 +114,7 @@ module Puma
debug "Workers to cull: #{workers_to_cull.inspect}"
workers_to_cull.each do |worker|
log "- Worker #{worker.index} (pid: #{worker.pid}) terminating"
log "- Worker #{worker.index} (PID: #{worker.pid}) terminating"
worker.term
end
end
@ -433,7 +433,7 @@ module Puma
case req
when "b"
w.boot!
log "- Worker #{w.index} (pid: #{pid}) booted, phase: #{w.phase}"
log "- Worker #{w.index} (PID: #{pid}) booted, phase: #{w.phase}"
@next_check = Time.now
when "e"
# external term, see worker method, Signal.trap "SIGTERM"