fix(cron): Keep job class limitation when searching for the next job

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/50901/head
Joas Schilling 2025-02-19 08:44:33 +07:00 committed by backportbot[bot]
parent 4a4cfa00f1
commit 4b1b16430d
1 changed files with 1 additions and 1 deletions

@ -206,7 +206,7 @@ class JobList implements IJobList {
$update->setParameter('jobid', $row['id']);
$update->executeStatement();
return $this->getNext($onlyTimeSensitive);
return $this->getNext($onlyTimeSensitive, $jobClasses);
}
$update = $this->connection->getQueryBuilder();