From 59aa0a256b1d521ac8f7fdb088a46580efa2f28c Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Wed, 7 May 2014 13:03:16 +0300 Subject: Add support for node stats Bumpup gemspec --- lib/oxidized/worker.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb index a97e5da..58bf659 100644 --- a/lib/oxidized/worker.rb +++ b/lib/oxidized/worker.rb @@ -27,6 +27,7 @@ module Oxidized def process job node = job.node node.last = job + node.stats.add job @jobs.duration job.time if job.status == :success msg = "update #{node.name}" -- cgit v1.2.1