diff options
author | Joas Schilling <coding@schilljs.com> | 2025-02-19 08:44:33 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2025-02-19 09:28:34 +0000 |
commit | 4b1b16430dad9fbd9b06db35967896c62a05d7bc (patch) | |
tree | 5269d4a642dabb53a7354977e9cc786a993c5b0c | |
parent | 4a4cfa00f10f142e174ab1261b774416cc010386 (diff) | |
download | nextcloud-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.php | 2 |
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(); |