From 1f955a63a669b8f920a1d04fec1de48de61e0d01 Mon Sep 17 00:00:00 2001 From: walkor Date: Fri, 8 Nov 2024 10:28:29 +0800 Subject: [PATCH] Fix UI --- src/Worker.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Worker.php b/src/Worker.php index 1f6d9524..f4a07bfb 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -1189,8 +1189,8 @@ protected static function formatProcessStatusData(): string foreach ($workerInfo as $pid => $info) { if (!isset($dataWaitingSort[$pid])) { $statusStr .= "$pid\t" . str_pad('N/A', 7) . " " - . str_pad($info['listen'], static::getUiColumnLength('maxSocketNameLength')) . " " - . str_pad((string)$info['name'], static::getUiColumnLength('maxWorkerNameLength')) . " " + . str_pad($info['listen'], $maxLen1) . " " + . str_pad((string)$info['name'], $maxLen2) . " " . str_pad('N/A', 11) . " " . str_pad('N/A', 9) . " " . str_pad('N/A', 7) . " " . str_pad('N/A', 13) . " N/A [busy] \n"; continue;