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

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/50896/head
Joas Schilling 2025-02-19 08:44:33 +07:00
parent 0d49af4f27
commit 73d94353d1
No known key found for this signature in database
GPG Key ID: F72FA5B49FFA96B0
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();