From 2eca023aa926837cad4fe12bda8d1160a27f1ec0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Mon, 21 Dec 2020 17:22:18 +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 | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index 93b434f0..cbf59a0b 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -115,11 +115,7 @@ class Redis extends Pool if (!Context::hasContext($coroutineName)) { return; } - - $client = Context::getContext($coroutineName); - - $this->push($coroutineName, $client); - $this->remove($coroutineName); + $this->push($coroutineName, Context::getContext($coroutineName)); } /**