diff --git a/Creational/Pool/Processor.php b/Creational/Pool/Processor.php index 0bb5e6742..957e91ff6 100644 --- a/Creational/Pool/Processor.php +++ b/Creational/Pool/Processor.php @@ -20,7 +20,7 @@ public function process($image) if ($this->processing++ < $this->maxProcesses) { $this->createWorker($image); } else { - $this->pushToWaitingQueue($worker); + $this->pushToWaitingQueue($image); } }