refactor: Adjust keep_days in CleanupDatabase.php based on environment
This commit is contained in:
@@ -19,7 +19,7 @@ class CleanupDatabase extends Command
|
|||||||
echo "Running database cleanup in dry-run mode...\n";
|
echo "Running database cleanup in dry-run mode...\n";
|
||||||
}
|
}
|
||||||
if (isCloud()) {
|
if (isCloud()) {
|
||||||
$keep_days = 30;
|
$keep_days = 60;
|
||||||
} else {
|
} else {
|
||||||
$keep_days = 60;
|
$keep_days = 60;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user