From de1895667080cc3a0643ca218df198f5d7c91889 Mon Sep 17 00:00:00 2001 From: Matthew Baggett Date: Fri, 22 Jan 2021 07:15:27 +0100 Subject: [PATCH] Ssh pconnect.. its okay.. less screaming.. --- src/Redis/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Redis/Redis.php b/src/Redis/Redis.php index 334133e..7b5e0e1 100644 --- a/src/Redis/Redis.php +++ b/src/Redis/Redis.php @@ -296,7 +296,7 @@ class Redis private function runBeforeRedisCommand(): void { if (!$this->redis->isConnected()) { - $this->redis->pconnect($this->host, $this->port, $this->timeout); + @$this->redis->pconnect($this->host, $this->port, $this->timeout); $this->initialiseExtensions(); } }