Skip to content

Commit

Permalink
Merge pull request #7 from RubtsovAV/master
Browse files Browse the repository at this point in the history
removed the lower limit of pool size
  • Loading branch information
qxsch authored Sep 16, 2017
2 parents 4bdd18e + 6fb4d7f commit 060fc54
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/WorkerPool.php
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,6 @@ public function exitPhp($code) {
* @return WorkerPool
*/
public function create(WorkerInterface $worker) {
if ($this->workerPoolSize <= 1) {
$this->workerPoolSize = 2;
}
$this->initialPoolSize = $this->workerPoolSize;
$this->parentPid = getmypid();
$this->worker = $worker;
Expand Down

0 comments on commit 060fc54

Please sign in to comment.