From 626db1c0cff3100790e267971592c9defef42130 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Tue, 5 Jan 2021 18:32:16 +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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index 641d62a1..60b94be3 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -77,7 +77,7 @@ class Redis extends Pool */ private function newClient($config, $coroutineName): \Redis|null { - $this->printClients($config['cds'], $coroutineName, true); + $this->printClients($config['host'], $coroutineName, true); return $this->createConnect([$config, $coroutineName], $coroutineName, function ($config, $coroutineName) { $redis = new SRedis(); if (!$redis->connect($config['host'], (int)$config['port'], $config['timeout'])) {