lib/ring/sqa/poller/sender.rb in ring-sqa-0.0.19 vs lib/ring/sqa/poller/sender.rb in ring-sqa-0.0.20
- old
+ new
@@ -7,10 +7,10 @@
def run
udp = udp_socket
loop do
loop_start = Time.now
- @nodes.list.each do |node|
+ @nodes.all.each do |node, _|
query node, udp
sleep INTER_NODE_GAP
end
duration = Time.now-loop_start
if duration < INTERVAL