Skip to content

Commit

Permalink
remove method
Browse files Browse the repository at this point in the history
  • Loading branch information
hsldymq committed Sep 20, 2019
1 parent c79a0e6 commit ac2e973
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Dispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -614,11 +614,4 @@ private function informWorkersQuit()
// 防止子进程无响应,这里循环一定时间后直接退出
} while ((time() - $startInformTime) < $this->shutdownTimeoutSec);
}

private function waitChildren()
{
while (($pid = pcntl_wait($status, WNOHANG)) > 0) {
$this->clearWorker($this->idMap[$pid] ?? '', $pid);
}
}
}

0 comments on commit ac2e973

Please sign in to comment.