Evict connection from slots cache when removed.

This commit is contained in:
Daniele Alessandri
2016-05-18 21:34:54 +02:00
parent 18ae294864
commit ac165194f5
@@ -118,6 +118,8 @@ class RedisCluster implements ClusterInterface, \IteratorAggregate, \Countable
$this->slotsMap
);
$this->slots = array_diff($this->slots, array($connection));
return true;
}