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

Merge pull request #472 from rubencaro/master

React when a worker does not load on a `phased_restart`
This commit is contained in:
Evan Phoenix 2014-02-21 09:07:16 -08:00
commit 75d60d019c

View file

@ -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?