We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44078c0 commit 16c169fCopy full SHA for 16c169f
pkg/nginxprocess/process.go
@@ -29,7 +29,8 @@ type Process struct {
29
30
// IsWorker returns true if the process is a NGINX worker process.
31
func (p *Process) IsWorker() bool {
32
- return strings.HasPrefix(p.Cmd, "nginx: worker")
+ return strings.HasPrefix(p.Cmd, "nginx: worker") ||
33
+ strings.HasPrefix(p.Cmd, "{nginx-debug} nginx: worker")
34
}
35
36
// IsMaster returns true if the process is a NGINX master process.
0 commit comments