diff --git a/cluster2/src/main/java/io/scalecube/cluster2/gossip/GossipProtocol.java b/cluster2/src/main/java/io/scalecube/cluster2/gossip/GossipProtocol.java index 8f99000f..ed57f7b3 100644 --- a/cluster2/src/main/java/io/scalecube/cluster2/gossip/GossipProtocol.java +++ b/cluster2/src/main/java/io/scalecube/cluster2/gossip/GossipProtocol.java @@ -294,13 +294,13 @@ void nextGossipMembers() { return; } - for (int i = 0, limit = Math.min(gossipFanout, size); i < limit; ) { - final Member member = remoteMembers.get(random.nextInt(remoteMembers.size())); - if (!gossipMembers.contains(member)) { - gossipMembers.add(member); - i++; - } - } + // for (int i = 0, limit = Math.min(gossipFanout, size); i < limit; ) { + // final Member member = remoteMembers.get(random.nextInt(remoteMembers.size())); + // if (!gossipMembers.contains(member)) { + // gossipMembers.add(member); + // i++; + // } + // } } void shuffle() {