ソースを参照

Evict connection from slots cache when removed.

Daniele Alessandri 9 年 前
コミット
ac165194f5
1 ファイル変更2 行追加0 行削除
  1. 2 0
      src/Connection/Aggregate/RedisCluster.php

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

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