8000 bug #58952 [Cache] silence warnings issued by Redis Sentinel on conne… · symfony/symfony@992a6a0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 992a6a0

Browse files
bug #58952 [Cache] silence warnings issued by Redis Sentinel on connection issues (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Cache] silence warnings issued by Redis Sentinel on connection issues | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | | License | MIT related to #58365 and #58818 see https://github.com/symfony/symfony/actions/runs/11936530431/job/33270392688#step:9:607 Commits ------- 97bdf94 silence warnings issued by Redis Sentinel on connection issues
2 parents d53bb8a + 97bdf94 commit 992a6a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ public function __construct(array $options, \Redis|Relay|\RedisCluster|null $red
134134
'readTimeout' => $options['read_timeout'],
135135
];
136136

137-
$sentinel = new \RedisSentinel($params);
137+
$sentinel = @new \RedisSentinel($params);
138138
} else {
139139
$sentinel = @new $sentinelClass($host, $port, $options['timeout'], $options['persistent_id'], $options['retry_interval'], $options['read_timeout']);
140140
}

0 commit comments

Comments
 (0)
0