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

This commit is contained in:
Andras Bacsai 2024-01-18 14:49:47 +01:00
parent 8106602d15
commit 2f82dedd4f
2 changed files with 1 additions and 1 deletions

View File

@ -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()
{

View File

@ -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)
{