Skip to content

Commit

Permalink
Merge pull request #255 from matomo-org/PG-3792-fix-old-sentinel-conf…
Browse files Browse the repository at this point in the history
…ig-issue

Fixed old redis sentinel config issue
  • Loading branch information
snake14 authored Aug 19, 2024
2 parents 11c580c + d2e696c commit 8359301
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Queue/Backend/Sentinel.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8359301

Please sign in to comment.