diff options
author | Vincent Petry <vincent@nextcloud.com> | 2022-04-25 15:16:28 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-25 15:16:28 +0200 |
commit | 8f34bc833c859763717c30ce0dc29170585956ed (patch) | |
tree | d14dada29a48a7503cd9da78026e7ec0e17d03f3 /lib | |
parent | d1e244b85928acc71bd482e3c20c756cc3457c95 (diff) | |
parent | edfba7f151a2ef60b73343a29ddbe04df32c0baa (diff) | |
download | nextcloud-server-8f34bc833c859763717c30ce0dc29170585956ed.tar.gz nextcloud-server-8f34bc833c859763717c30ce0dc29170585956ed.zip |
Merge pull request #32116 from nextcloud/backport/32109/stable24
[stable24] Get not only time-sensitive next job from list but any when not in cron-mode
Diffstat (limited to 'lib')
-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 21af79c4686..fe65a1879bc 100644 --- a/lib/private/BackgroundJob/JobList.php +++ b/lib/private/BackgroundJob/JobList.php @@ -203,7 +203,7 @@ class JobList implements IJobList { * @param bool $onlyTimeSensitive * @return IJob|null */ - public function getNext(bool $onlyTimeSensitive = true): ?IJob { + public function getNext(bool $onlyTimeSensitive = false): ?IJob { $query = $this->connection->getQueryBuilder(); $query->select('*') ->from('jobs') |