Skip to content

Commit 8359301

Browse files
authored
Merge pull request #255 from matomo-org/PG-3792-fix-old-sentinel-config-issue
Fixed old redis sentinel config issue
2 parents 11c580c + d2e696c commit 8359301

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)