From 1622f2be6af493f192211eb361f3bcc9794de55a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Sun, 14 Dec 2025 17:10:09 +0100 Subject: [PATCH] chore: retain xml dumps for three days to save on webspace --- src/Command/CleanupXMLDumpsCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/CleanupXMLDumpsCommand.php b/src/Command/CleanupXMLDumpsCommand.php index d78655d..4ab735e 100644 --- a/src/Command/CleanupXMLDumpsCommand.php +++ b/src/Command/CleanupXMLDumpsCommand.php @@ -14,7 +14,7 @@ use Symfony\Component\Console\Style\SymfonyStyle; #[AsCommand( name: 'app:cleanup:xml-dumps', - description: 'Removes XML dumps of BPN requests/responses older than a week' + description: 'Removes XML dumps of BPN requests/responses older than 3 days' )] class CleanupXMLDumpsCommand extends Command { @@ -30,7 +30,7 @@ class CleanupXMLDumpsCommand extends Command $io = new SymfonyStyle($input, $output); // we look for files older than 1 week - $maxDate = (new \DateTimeImmutable())->modify('-1 week')->getTimestamp(); + $maxDate = (new \DateTimeImmutable())->modify('-3 days')->getTimestamp(); try { $files = $this