From c392460dd7a95ffe1eb1c6b116ddc23fdfea96b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Wed, 16 Aug 2023 00:45:04 +0800 Subject: [PATCH] qqq --- kiri-engine/Redis/Redis.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kiri-engine/Redis/Redis.php b/kiri-engine/Redis/Redis.php index b455ce56..675e64e1 100644 --- a/kiri-engine/Redis/Redis.php +++ b/kiri-engine/Redis/Redis.php @@ -139,7 +139,7 @@ SCRIPT; */ public function destroy(): void { - $this->pool()->clean($this->host); + $this->pool()->close($this->host); } @@ -165,7 +165,7 @@ SCRIPT; /** * @return \Redis - * @throws ReflectionException + * @throws Exception */ private function getClient(): \Redis { @@ -175,7 +175,7 @@ SCRIPT; /** * @return Pool - * @throws ReflectionException + * @throws Exception */ protected function pool(): Pool {