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:27:50 +0000 |
commit | 2d1bfad11e45f5d14a5349e30b08887e4cb472eb (patch) | |
tree | 842e092c4fbd3beccbdc9d165a968225f37f4dfe | |
parent | 78f532dd31e8f89ea53e16c6d8f64d01483b5271 (diff) | |
download | nextcloud-server-backport/50896/stable30.tar.gz nextcloud-server-backport/50896/stable30.zip |
fix(cron): Keep job class limitation when searching for the next jobbackport/50896/stable30
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 2cb44a26d5e..9a675d91840 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(); |