mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(cron): Keep job class limitation when searching for the next job
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
78f532dd31
commit
2d1bfad11e
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue