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.

Add call to 'cleanup:queue' command in Init.php and remove 'cleanup:queue' command from Kernel.php

Andras Bacsai2f82dedd4f18
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.php
index 2791a86f4d..c88c52e8b8 100644
--- a/app/Console/Commands/Init.php
+++ b/app/Console/Commands/Init.php
@@ -54,6 +54,7 @@ class Init extends Command
$settings->update(['is_auto_update_enabled' => false]);
}
}
+ $this->call('cleanup:queue');
}
private function restore_coolify_db_backup()
{
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index 16ad8c4665..50db6d681c 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -46,7 +46,6 @@ class Kernel extends ConsoleKernel
$this->pull_helper_image($schedule);
$this->check_scheduled_tasks($schedule);
}
- $schedule->command('cleanup:queue')->everyMinute()->onOneServer();
}
private function pull_helper_image($schedule)
{