fix(TaskProcessing): Increase MAX_TASK_AGE to 6 months

to comply with the EU AI act

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2025-10-06 16:44:53 +02:00
parent c609dd20b4
commit bf06e2fd67

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