Add call to 'cleanup:queue' command in Init.php and remove 'cleanup:queue' command from Kernel.php
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user