update log

This commit is contained in:
root 2025-11-09 06:52:17 +00:00
parent 07665a1e6f
commit 628a706771
1 changed files with 3 additions and 3 deletions

View File

@ -84,13 +84,13 @@ class QueueWorkCommand extends Command
exec('pkill -f "artisan queue:work"'); exec('pkill -f "artisan queue:work"');
} }
$this->info("Starting {$workers} queue:work processes on connection '{$connection}' and queue '{$queue}' with options: '{$workerOptions}'..."); $this->line("Starting {$workers} queue:work processes on connection '{$connection}' and queue '{$queue}' with options: '{$workerOptions}'...");
$processes = []; $processes = [];
$pipesList = []; $pipesList = [];
for ($i = 1; $i <= $workers; $i++) { for ($i = 1; $i <= $workers; $i++) {
$this->info("Launching worker {$i}..."); $this->line("Lastring: unching worker {$i}...");
$descriptors = [ $descriptors = [
1 => ['pipe', 'w'], // stdout 1 => ['pipe', 'w'], // stdout
2 => ['pipe', 'w'], // stderr 2 => ['pipe', 'w'], // stderr
@ -121,7 +121,7 @@ class QueueWorkCommand extends Command
if ($out !== '') { if ($out !== '') {
foreach (explode("\n", trim($out)) as $line) { foreach (explode("\n", trim($out)) as $line) {
if ($line !== '') { if ($line !== '') {
$this->info("[Worker {$i}] " . $line); $this->line("[Worker {$i}] " . $line);
} }
} }
} }