Skip to content

Commit 060fc54

Browse files
authored
Merge pull request #7 from RubtsovAV/master
removed the lower limit of pool size
2 parents 4bdd18e + 6fb4d7f commit 060fc54

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/WorkerPool.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,6 @@ public function exitPhp($code) {
236236
* @return WorkerPool
237237
*/
238238
public function create(WorkerInterface $worker) {
239-
if ($this->workerPoolSize <= 1) {
240-
$this->workerPoolSize = 2;
241-
}
242239
$this->initialPoolSize = $this->workerPoolSize;
243240
$this->parentPid = getmypid();
244241
$this->worker = $worker;

0 commit comments

Comments
 (0)