diff --git a/System/Pool/Connection.php b/System/Pool/Connection.php index ae1592ee..3648723f 100644 --- a/System/Pool/Connection.php +++ b/System/Pool/Connection.php @@ -187,7 +187,7 @@ class Connection extends Pool */ public function printClients($cds, $coroutineName, $isBefore = false) { - $this->warning(($isBefore ? 'before ' : '') . 'create client[address: ' . $cds . ', ' . env('workerId') . ', 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 1a7f068a..716dd3b0 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -58,7 +58,7 @@ class Redis extends Pool */ public function createClient(string $name, mixed $config): SRedis { - $this->printClients($config['host'], $name, true); +// $this->printClients($config['host'], $name, true); $redis = new SRedis(); if (!$redis->connect($config['host'], (int)$config['port'], $config['timeout'])) { throw new RedisConnectException(sprintf('The Redis Connect %s::%d Fail.', $config['host'], $config['port']));