Merge pull request #52656 from nextcloud/backport/52642/stable31

[stable31] fix(TaskProcessing): increase task cleanup delay
This commit is contained in:
Joas Schilling 2025-05-27 17:52:45 +02:00 committed by GitHub
commit 2223d3b847
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(