Permalink
Browse files

同居しているバックエンドの情報を拾わないように

  • Loading branch information...
cho45 committed Jun 14, 2010
1 parent f9012b6 commit 1d4e2411cb4fab4f74633b1d0de80976f839cff6
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Plack/Middleware/ServerStatus.pm
@@ -242,6 +242,7 @@ sub _collect_worker_info {
my ($name, $meta, $key, $client, $host, $method, $path, $proto) =
$command =~ qr{^server-status\[([^]]+?)\] \(([^)]+?)\) (.)(?: ([^\s]+) ([^\s]+) ([^\s]+) ([^\s]+) ([^\s]+))?};
+ next unless $name eq $ENV{SERVER_STATUS_CLASS};
push @$workers, +{
ppid => $ppid,

0 comments on commit 1d4e241

Please sign in to comment.