diff --git a/src/Cache/PhpRedis.php b/src/Cache/PhpRedis.php index 4906572..accaa61 100644 --- a/src/Cache/PhpRedis.php +++ b/src/Cache/PhpRedis.php @@ -63,9 +63,7 @@ class PhpRedis extends CacheBase { // Optimize for the common case when only a single cache entry needs to // be fetched, no pipeline is needed then. if (count($keys) > 1) { - //$pipe = $this->client->multi(\RedisCluster::PIPELINE); - //https://github.com/phpredis/phpredis/blob/feature/redis_cluster/cluster.markdown#pipelining - $pipe = $this->client->multi(); + $pipe = $this->client->multi(\Redis::PIPELINE); foreach ($keys as $key) { $pipe->hgetall($key); }