aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2025-02-19 08:44:33 +0100
committerJoas Schilling <coding@schilljs.com>2025-02-19 08:44:33 +0100
commit73d94353d1883f6ea2cce408e53f229425803677 (patch)
treee8eeb322082ef36c3b9c1340759308ba059720b5
parent0d49af4f2789c7bb93fb970032342fc06893948f (diff)
downloadnextcloud-server-bugfix/noid/keep-job-class-limitation.tar.gz
nextcloud-server-bugfix/noid/keep-job-class-limitation.zip
fix(cron): Keep job class limitation when searching for the next jobbugfix/noid/keep-job-class-limitation
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();