Add echo statement for queue cleanup and update cleanup message

This commit is contained in:
Andras Bacsai 2024-01-18 14:56:12 +01:00
parent 2f82dedd4f
commit 2db93bd9b9
2 changed files with 2 additions and 1 deletions

View File

@ -12,6 +12,7 @@ class CleanupQueue extends Command
public function handle()
{
echo "Running queue cleanup...\n";
$prefix = config('database.redis.options.prefix');
$keys = Redis::connection()->keys('*:laravel*');
foreach ($keys as $key) {

View File

@ -30,7 +30,7 @@ class Init extends Command
$this->alive();
$cleanup = $this->option('cleanup');
if ($cleanup) {
echo "Running cleanup\n";
echo "Running cleanups...\n";
$this->cleanup_stucked_resources();
// Required for falsely deleted coolify db
$this->restore_coolify_db_backup();