aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-02-19 08:44:33 +0100
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>2025-02-19 09:28:34 +0000
commit4b1b16430dad9fbd9b06db35967896c62a05d7bc (patch)
tree5269d4a642dabb53a7354977e9cc786a993c5b0c
parent4a4cfa00f10f142e174ab1261b774416cc010386 (diff)
downloadnextcloud-server-backport/50896/stable31.tar.gz
nextcloud-server-backport/50896/stable31.zip
fix(cron): Keep job class limitation when searching for the next jobbackport/50896/stable31
Signed-off-by: Joas Schilling <coding@schilljs.com>
-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 55521421711..98d037e4dec 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();