Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor: Adjust keep_days in CleanupDatabase.php based on environment

Andras Bacsaifd855847ff49
diff --git a/app/Console/Commands/CleanupDatabase.php b/app/Console/Commands/CleanupDatabase.php
index bdef780e53..07bc4d338f 100644
--- a/app/Console/Commands/CleanupDatabase.php
+++ b/app/Console/Commands/CleanupDatabase.php
@@ -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;
}