From 0b27b9e658509861cfa5e937cefd8c87a54217bb Mon Sep 17 00:00:00 2001 From: Kirill Popov Date: Sat, 23 Apr 2022 16:42:37 +0300 Subject: 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 --- lib/private/BackgroundJob/JobList.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private') 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') -- cgit v1.2.3