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(); } }