Browse Source

Merge pull request #55600 from nextcloud/backport/55599/stable31

[stable31] fix(TaskProcessing): Increase MAX_TASK_AGE to 6 months
pull/55625/head
Marcel Klehr 4 weeks ago
committed by GitHub
parent
commit
5d1b2ad19a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php

2
lib/private/TaskProcessing/RemoveOldTasksBackgroundJob.php

@ -16,7 +16,7 @@ use OCP\Files\SimpleFS\ISimpleFolder;
use Psr\Log\LoggerInterface;
class RemoveOldTasksBackgroundJob extends TimedJob {
public const MAX_TASK_AGE_SECONDS = 60 * 60 * 24 * 30 * 4; // 4 months
public const MAX_TASK_AGE_SECONDS = 60 * 60 * 24 * 31 * 6; // 6 months
private \OCP\Files\IAppData $appData;
public function __construct(

Loading…
Cancel
Save