fix(TaskProcessing): increase task cleanup delay

Signed-off-by: Edward Ly <contact@edward.ly>
pull/52642/head
Edward Ly 5 months ago
parent 2a1e63be14
commit 6af7ca0a85
No known key found for this signature in database
GPG Key ID: 62EA9B12D5B3AC47
  1. 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 * 7 * 4; // 4 weeks
public const MAX_TASK_AGE_SECONDS = 60 * 60 * 24 * 30 * 4; // 4 months
private \OCP\Files\IAppData $appData;
public function __construct(

Loading…
Cancel
Save