diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index 93ec8849..2c7e336b 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -269,7 +269,7 @@ class Connection extends Pool */ public function printClients($cds, $coroutineName, $isBefore = false) { - $this->warning(($isBefore ? 'before ' : '') . 'create client[address: ' . $cds . ', coroutine: ' . Coroutine::getCid() . ', has num: ' . $this->size($coroutineName) . ', has create: ' . $this->hasCreate[$coroutineName] . ']'); + $this->warning(($isBefore ? 'before ' : '') . 'create client[address: ' . $cds . ', ' . env('workerId') . ', coroutine: ' . Coroutine::getCid() . ', has num: ' . $this->size($coroutineName) . ', has create: ' . $this->hasCreate[$coroutineName] . ']'); } diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index fab3a167..55eb4806 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -94,7 +94,7 @@ class Redis extends Pool */ public function printClients($cds, $coroutineName, $isBefore = false) { - $this->warning(($isBefore ? 'before ' : '') . 'create client[address: ' . $cds . ', coroutine: ' . Coroutine::getCid() . ', has num: ' . $this->size($coroutineName) . ', has create: ' . $this->_create . ']'); + $this->warning(($isBefore ? 'before ' : '') . 'create client[address: ' . $cds . ',' . env('workerId') . ', coroutine: ' . Coroutine::getCid() . ', has num: ' . $this->size($coroutineName) . ', has create: ' . $this->_create . ']'); }