aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2025-02-19 13:34:00 +0100
committerGitHub <noreply@github.com>2025-02-19 13:34:00 +0100
commit0598fd74cdd410d7e3021093c24060b2eaf77443 (patch)
treefbba7a1fc2fb57bbb0beb1b5db1f4876f6f03e36
parentf448d24507efe4317212e5bd7e1dced7ad7dbf8c (diff)
parent2d1bfad11e45f5d14a5349e30b08887e4cb472eb (diff)
downloadnextcloud-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.php2
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();