refactor: Adjust keep_days in CleanupDatabase.php based on environment

This commit is contained in:
Andras Bacsai
2024-08-01 09:07:54 +02:00
parent 35dbced3c5
commit fd855847ff

View File

@@ -19,7 +19,7 @@ class CleanupDatabase extends Command
echo "Running database cleanup in dry-run mode...\n";
}
if (isCloud()) {
$keep_days = 30;
$keep_days = 60;
} else {
$keep_days = 60;
}