rgossip 0.1.5 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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