mirror of
https://github.com/predis/predis.git
synced 2026-09-17 13:57:33 +00:00
Evict connection from slots cache when removed.
This commit is contained in:
@@ -118,6 +118,8 @@ class RedisCluster implements ClusterInterface, \IteratorAggregate, \Countable
|
||||
$this->slotsMap
|
||||
);
|
||||
|
||||
$this->slots = array_diff($this->slots, array($connection));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user