From 2a6db35e58d3d232a5a4d9200e12750fe24ecd0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 5 Jan 2021 18:33:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Pool/Connection.php | 2 +- System/Pool/Redis.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index fea81c34..9d057c39 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -270,7 +270,7 @@ class Connection extends Pool */ public function printClients($cds, $coroutineName, $isBefore = false) { - $this->success(($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 . ', 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 60b94be3..cbca4fdf 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -106,7 +106,7 @@ class Redis extends Pool */ public function printClients($cds, $coroutineName, $isBefore = false) { - $this->success(($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 . ', coroutine: ' . Coroutine::getCid() . ', has num: ' . $this->size($coroutineName) . ', has create: ' . $this->_create . ']'); }