diff options
-rw-r--r-- | lib/oxidized/worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb index 1952d01..94a13c6 100644 --- a/lib/oxidized/worker.rb +++ b/lib/oxidized/worker.rb @@ -35,7 +35,7 @@ module Oxidized node = job.node node.last = job node.stats.add job - @jobs.duration job.time + @jobs.duration job.time.dup node.running = false if job.status == :success Oxidized.Hooks.handle :node_success, :node => node, |