lib/riemann/babbler/plugin.rb in riemann-babbler-2.8.3 vs lib/riemann/babbler/plugin.rb in riemann-babbler-2.8.4

- old
+ new

@@ -150,9 +150,10 @@ end # Main method def run! return 0 unless run_plugin + sleep Random.new.rand(10) loop do t_start = Time.now begin Timeout::timeout(plugin.interval.to_f * 2/3 ) { tick } rescue TimeoutError