aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2025-02-19 10:26:27 +0100
committerGitHub <noreply@github.com>2025-02-19 10:26:27 +0100
commitff86bacaad7ee9ae5374554df261ab999d5a3496 (patch)
treee8eeb322082ef36c3b9c1340759308ba059720b5
parent0d49af4f2789c7bb93fb970032342fc06893948f (diff)
parent73d94353d1883f6ea2cce408e53f229425803677 (diff)
downloadnextcloud-server-ff86bacaad7ee9ae5374554df261ab999d5a3496.tar.gz
nextcloud-server-ff86bacaad7ee9ae5374554df261ab999d5a3496.zip
Merge pull request #50896 from nextcloud/bugfix/noid/keep-job-class-limitation
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 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();