From 00d64ec73dc0a1572cad107a667b8801934e394f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 11 Sep 2020 01:26:36 +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/Redis.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index c147a5d9..177a900d 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -40,7 +40,6 @@ class Redis extends Pool if (Context::hasContext($coroutineName)) { return Context::getContext($coroutineName); } else if (!$this->hasItem($coroutineName)) { - $this->success('create redis client -> ' . $config['host'] . ':' . $this->size($coroutineName)); return $this->saveClient($coroutineName, $this->createConnect($config)); } return $this->getByChannel($coroutineName, $config); @@ -55,9 +54,7 @@ class Redis extends Pool */ public function getByChannel($coroutineName, $config) { - $this->info('redis client has :' . $this->size($coroutineName)); if (!$this->hasItem($coroutineName)) { - $this->success('create redis client -> ' . $config['host'] . ':' . $this->size($coroutineName)); return $this->saveClient($coroutineName, $this->createConnect($config)); } [$time, $client] = $this->get($coroutineName);