8000
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 88cdd3c commit 029f89aCopy full SHA for 029f89a
src/Symfony/Component/Cache/Adapter/RedisAdapter.php
@@ -306,10 +306,10 @@ private function pipeline(\Closure $generator)
306
} elseif ($this->redis instanceof \RedisCluster) {
307
// phpredis doesn't support pipelining with RedisCluster
308
// see https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#pipelining
309
- $result = array();
+ $results = array();
310
foreach ($generator() as $command => $args) {
311
+ $results[] = call_user_func_array(array($this->redis, $command), $args);
312
$ids[] = $args[0];
- $result[] = call_user_func_array(array($this->redis, $command), $args);
313
}
314
} else {
315
$this->redis->multi(\Redis::PIPELINE);
0 commit comments