Эх сурвалжийг харах

Evict connection from slots cache when removed.

Daniele Alessandri 9 жил өмнө
parent
commit
5adafb352c

+ 2 - 0
src/Connection/Aggregate/RedisCluster.php

@@ -117,6 +117,8 @@ class RedisCluster implements ClusterInterface, \IteratorAggregate, \Countable
                 $this->slotsMap
             );
 
+            $this->slots = array_diff($this->slots, array($connection));
+
             return true;
         }