Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 97bdf94

Browse filesBrowse files
committed
silence warnings issued by Redis Sentinel on connection issues
1 parent d53bb8a commit 97bdf94
Copy full SHA for 97bdf94

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/Messenger/Bridge/Redis/Transport/Connection.php
+1-1Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.