modify
This commit is contained in:
@@ -131,8 +131,6 @@ class Redis extends Pool
|
|||||||
try {
|
try {
|
||||||
if (!($client instanceof SRedis)) {
|
if (!($client instanceof SRedis)) {
|
||||||
$result = false;
|
$result = false;
|
||||||
} else if (!$client->isConnected() || !$client->ping('connect.')) {
|
|
||||||
$result = false;
|
|
||||||
} else {
|
} else {
|
||||||
$result = true;
|
$result = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user