From 871226c2ece6bc324301d14395ccad815f216f79 Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Tue, 4 May 2021 02:32:54 +0800 Subject: [PATCH] modify --- System/Pool/Redis.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index b9423643..df76cb37 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -131,8 +131,6 @@ class Redis extends Pool try { if (!($client instanceof SRedis)) { $result = false; - } else if (!$client->isConnected() || !$client->ping('connect.')) { - $result = false; } else { $result = true; }