增加USR1信号,实时获取 worker 信息
This commit is contained in:
@@ -97,10 +97,9 @@ trait RegisterSignal
|
||||
protected function workerStatus()
|
||||
{
|
||||
return function () {
|
||||
// $this->storeStatus();
|
||||
foreach ($this->processes as $pid => $process) {
|
||||
foreach ($this->processes as $pid => $process) {
|
||||
Process::kill($pid, SIGUSR1);
|
||||
}
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user