diff options
author | Saku Ytti <saku@ytti.fi> | 2017-01-12 15:43:28 +0200 |
---|---|---|
committer | Nat Morris <nat@netflix.com> | 2017-02-10 19:29:58 +0000 |
commit | 8c304a2f6e43f41fa58ab1f04cc2fbfc39299b15 (patch) | |
tree | 70f68aab5c0619ef243baf2894a3044c3618c8cd /lib/oxidized/nodes.rb | |
parent | 15fc1f0f4698125fb65be3a66906d80a92807a55 (diff) |
guard adding job via configuration option
Diffstat (limited to 'lib/oxidized/nodes.rb')
-rw-r--r-- | lib/oxidized/nodes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/nodes.rb b/lib/oxidized/nodes.rb index 011bfc3..72a2dc4 100644 --- a/lib/oxidized/nodes.rb +++ b/lib/oxidized/nodes.rb @@ -73,7 +73,7 @@ module Oxidized # set last job to nil so that the node is picked for immediate update n.last = nil put n - jobs.want += 1 + jobs.want += 1 if Config.next_adds_job end end end |