getNumberOfJobToRun() public méthode

public getNumberOfJobToRun ( $storeId = null )
 public function runCron()
 {
     if (!$this->config->isQueueActive()) {
         return;
     }
     $nbJobs = $this->config->getNumberOfJobToRun();
     if (getenv('EMPTY_QUEUE') && getenv('EMPTY_QUEUE') == '1') {
         $nbJobs = -1;
     }
     $this->run($nbJobs);
 }