lib/consul/async/consul_template.rb in consul-templaterb-1.1.0 vs lib/consul/async/consul_template.rb in consul-templaterb-1.1.1
- old
+ new
@@ -169,10 +169,10 @@
if endpt.ready?
ready += 1
else
not_ready << endpt.endpoint.path
end
- to_cleanup << endpoint_key if (@iteration - endpt.seen_at) > 10
+ to_cleanup << endpoint_key if (@iteration - endpt.seen_at) > 60
end
if not_ready.count.positive?
STDERR.print "[INFO] Waiting for data from #{not_ready.count}/#{not_ready.count + ready} endpoints: #{not_ready[0..2]}..."
return [false, false, nil]
end