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:27:06 +0000
commite5314b19b3b20c62e74aeaf8b9ddf7901da28fd7 (patch)
tree228789982cf04b813fc5ed62d759577b83f5ea2e
parentd43d2b148cff021d2a4ee55866062cdecadf1805 (diff)
downloadnextcloud-server-backport/50896/stable29.tar.gz
nextcloud-server-backport/50896/stable29.zip
fix(cron): Keep job class limitation when searching for the next jobbackport/50896/stable29
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 6da46661c7d..7cae2998a35 100644
--- a/lib/private/BackgroundJob/JobList.php
+++ b/lib/private/BackgroundJob/JobList.php
@@ -222,7 +222,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();