Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e874746

Browse files
committed
Merge branch '6.4' into 7.2
* 6.4: [Lock] Fix using fractional TTLs on all platforms [Lock] Fixes an issue with PostgreSQL when using fractional TTLs [Console][Table] Fix unnecessary wrapping disable detecting modified indexes with DBAL 4.3 [cache] RedisTrait::doFetch should use pipeline instead of mget for Relay\Cluster relax assertions for forward compatibility with Symfony 7.4 [Console][Table] Fix invalid UTF-8 due to text wrapping
2 parents ece1c85 + d038cd3 commit e874746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Traits/RedisTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ protected function doFetch(array $ids): iterable
440440

441441
$result = [];
442442

443-
if ($this->redis instanceof \Predis\ClientInterface && ($this->redis->getConnection() instanceof ClusterInterface || $this->redis->getConnection() instanceof Predis2ClusterInterface)) {
443+
if (($this->redis instanceof \Predis\ClientInterface && ($this->redis->getConnection() instanceof ClusterInterface || $this->redis->getConnection() instanceof Predis2ClusterInterface)) || $this->redis instanceof RelayCluster) {
444444
$values = $this->pipeline(function () use ($ids) {
445445
foreach ($ids as $id) {
446446
yield 'get' => [$id];

0 commit comments

Comments
 (0)