Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVincent Petry <vincent@nextcloud.com>2022-04-25 16:16:28 +0300
committerGitHub <noreply@github.com>2022-04-25 16:16:28 +0300
commit8f34bc833c859763717c30ce0dc29170585956ed (patch)
treed14dada29a48a7503cd9da78026e7ec0e17d03f3 /lib
parentd1e244b85928acc71bd482e3c20c756cc3457c95 (diff)
parentedfba7f151a2ef60b73343a29ddbe04df32c0baa (diff)
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.php2
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')