예제 #1
0
파일: JobRunner.php 프로젝트: munkie/karzer
 /**
  * Fill pool with jobs from queue
  */
 protected function fillPool()
 {
     while (!$this->pool->isFull() && !$this->pool->queueIsEmpty()) {
         $job = $this->pool->dequeue();
         $this->startJob($job);
     }
 }