rgossip 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rgossip/client.rb +3 -0
- metadata +3 -3
data/lib/rgossip/client.rb
CHANGED
@@ -103,6 +103,9 @@ module RGossip
|
|
103
103
|
@node_list.synchronize {
|
104
104
|
raise 'node is exist' if @node_list.any? {|i| i.address == address }
|
105
105
|
@node_list << Node.new(@node_list, @dead_list, address, nil, nil, self.method(:perform_callback))
|
106
|
+
node = Node.new(@node_list, @dead_list, address, nil, nil, self.method(:perform_callback))
|
107
|
+
@node_list << node
|
108
|
+
node.start_timer if @running
|
106
109
|
}
|
107
110
|
end
|
108
111
|
|
metadata
CHANGED