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 5ae4a69 commit 35695a0
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 @@ -669,13 +669,6 @@ private function informWorkersQuit()
} while (($now - $startInformTime) < $this->shutdownTimeoutSec);
}

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

private function cacheMessage(Message $msg)
{
$this->cachedMessages->push($msg);
Expand Down

0 comments on commit 35695a0

Please sign in to comment.