From d2e696c483f95bad7538ec161c8fda8e4b2104eb Mon Sep 17 00:00:00 2001 From: Jacob Ransom Date: Mon, 19 Aug 2024 14:19:05 +1200 Subject: [PATCH] Fixed old redis sentinel config issue --- Queue/Backend/Sentinel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Queue/Backend/Sentinel.php b/Queue/Backend/Sentinel.php index 93bf1fe..17a1c2c 100644 --- a/Queue/Backend/Sentinel.php +++ b/Queue/Backend/Sentinel.php @@ -39,7 +39,7 @@ protected function connect() if (!empty($master)) { if (!class_exists('\Redis') && $this->timeout == 0) { - $this->timeout === 0.05; + $this->timeout = 0.05; } $client = new \Credis_Client($master[0], $master[1], $this->timeout, $persistent = false, $this->database, $this->password);