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