Merge pull request #50900 from nextcloud/backport/50896/stable30

[stable30] fix(cron): Keep job class limitation when searching for the next job
This commit is contained in:
Joas Schilling 2025-02-19 13:34:00 +01:00 committed by GitHub
commit 0598fd74cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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();