We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d157aa7 commit 30a2ca0Copy full SHA for 30a2ca0
src/Symfony/Component/Cache/Traits/RedisTrait.php
@@ -434,7 +434,7 @@ protected function doFetch(array $ids): iterable
434
435
$result = [];
436
437
- if ($this->redis instanceof \Predis\ClientInterface && ($this->redis->getConnection() instanceof ClusterInterface || $this->redis->getConnection() instanceof Predis2ClusterInterface)) {
+ if (($this->redis instanceof \Predis\ClientInterface && ($this->redis->getConnection() instanceof ClusterInterface || $this->redis->getConnection() instanceof Predis2ClusterInterface)) || $this->redis instanceof RelayCluster) {
438
$values = $this->pipeline(function () use ($ids) {
439
foreach ($ids as $id) {
440
yield 'get' => [$id];
0 commit comments