summaryrefslogtreecommitdiff
path: root/lib/oxidized/worker.rb
diff options
context:
space:
mode:
authorSaku Ytti <saku@ytti.fi>2018-06-12 00:30:15 +0300
committerSaku Ytti <saku@ytti.fi>2018-06-12 00:30:15 +0300
commitf9c5f300e46e786de95abcb5bbaa7ae6cedd588a (patch)
tree78cb0ea81a5afb19c2b3c29d32821c8c80612942 /lib/oxidized/worker.rb
parent5df10b5a6880747a9f659905dd7b4b75f338c8bb (diff)
add mtime and bump up version
Fixes performance regression
Diffstat (limited to 'lib/oxidized/worker.rb')
-rw-r--r--lib/oxidized/worker.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/oxidized/worker.rb b/lib/oxidized/worker.rb
index 5d5fc01..74b046d 100644
--- a/lib/oxidized/worker.rb
+++ b/lib/oxidized/worker.rb
@@ -53,6 +53,7 @@ module Oxidized
output = node.output.new
if output.store node.name, job.config,
:msg => msg, :email => node.email, :user => node.user, :group => node.group
+ node.modified
Oxidized.logger.info "Configuration updated for #{node.group}/#{node.name}"
Oxidized.Hooks.handle :post_store, :node => node,
:job => job,