diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2025-02-19 13:34:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-19 13:34:00 +0100 |
commit | 0598fd74cdd410d7e3021093c24060b2eaf77443 (patch) | |
tree | fbba7a1fc2fb57bbb0beb1b5db1f4876f6f03e36 | |
parent | f448d24507efe4317212e5bd7e1dced7ad7dbf8c (diff) | |
parent | 2d1bfad11e45f5d14a5349e30b08887e4cb472eb (diff) | |
download | nextcloud-server-0598fd74cdd410d7e3021093c24060b2eaf77443.tar.gz nextcloud-server-0598fd74cdd410d7e3021093c24060b2eaf77443.zip |
Merge pull request #50900 from nextcloud/backport/50896/stable30
[stable30] fix(cron): Keep job class limitation when searching for the next job
-rw-r--r-- | lib/private/BackgroundJob/JobList.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/BackgroundJob/JobList.php b/lib/private/BackgroundJob/JobList.php index 2cb44a26d5e..9a675d91840 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -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(); |