Skip to content

Commit d2e696c

Browse files
committed
Fixed old redis sentinel config issue
1 parent 11c580c commit d2e696c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Queue/Backend/Sentinel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ protected function connect()
3939

4040
if (!empty($master)) {
4141
if (!class_exists('\Redis') && $this->timeout == 0) {
42-
$this->timeout === 0.05;
42+
$this->timeout = 0.05;
4343
}
4444

4545
$client = new \Credis_Client($master[0], $master[1], $this->timeout, $persistent = false, $this->database, $this->password);

0 commit comments

Comments
 (0)