Add echo statement for queue cleanup and update cleanup message
This commit is contained in:
parent
2f82dedd4f
commit
2db93bd9b9
@ -12,6 +12,7 @@ class CleanupQueue extends Command
|
|||||||
|
|
||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
|
echo "Running queue cleanup...\n";
|
||||||
$prefix = config('database.redis.options.prefix');
|
$prefix = config('database.redis.options.prefix');
|
||||||
$keys = Redis::connection()->keys('*:laravel*');
|
$keys = Redis::connection()->keys('*:laravel*');
|
||||||
foreach ($keys as $key) {
|
foreach ($keys as $key) {
|
||||||
|
@ -30,7 +30,7 @@ class Init extends Command
|
|||||||
$this->alive();
|
$this->alive();
|
||||||
$cleanup = $this->option('cleanup');
|
$cleanup = $this->option('cleanup');
|
||||||
if ($cleanup) {
|
if ($cleanup) {
|
||||||
echo "Running cleanup\n";
|
echo "Running cleanups...\n";
|
||||||
$this->cleanup_stucked_resources();
|
$this->cleanup_stucked_resources();
|
||||||
// Required for falsely deleted coolify db
|
// Required for falsely deleted coolify db
|
||||||
$this->restore_coolify_db_backup();
|
$this->restore_coolify_db_backup();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user