aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorKirill Popov <kirill.s.popov@gmail.com>2022-04-23 16:42:37 +0300
committerKirill Popov <kirill.s.popov@gmail.com>2022-04-24 21:55:53 +0300
commit0b27b9e658509861cfa5e937cefd8c87a54217bb (patch)
tree0a78c47a6aac502314c390bf167f8653444fd04d /lib/private
parent20d7bf8a880ddf41874afdaf3784d29bc1bc925d (diff)
downloadnextcloud-server-0b27b9e658509861cfa5e937cefd8c87a54217bb.tar.gz
nextcloud-server-0b27b9e658509861cfa5e937cefd8c87a54217bb.zip
Get not only time-sensitive next job from list but any
Before the change webcron used to select **only** time-sensitive tasks. Signed-off-by: Kirill Popov <kirill.s.popov@gmail.com>
Diffstat (limited to 'lib/private')
-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')