mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Add booted_workers to stats response
This commit is contained in:
parent
f8d49e86ab
commit
350ba6f3c7
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ module Puma
|
|||
end
|
||||
|
||||
def stats
|
||||
%Q!{ "workers": #{@workers.size}, "phase": #{@phase} }!
|
||||
%Q!{ "workers": #{@workers.size}, "phase": #{@phase}, "booted_workers": #{@workers.count{|w| w.booted?}} }!
|
||||
end
|
||||
|
||||
def preload?
|
||||
|
|
Loading…
Add table
Reference in a new issue