diff options
author | Saku Ytti <saku@ytti.fi> | 2017-01-12 15:45:12 +0200 |
---|---|---|
committer | Nat Morris <nat@netflix.com> | 2017-02-10 19:30:02 +0000 |
commit | 64fc260a4da53af34f1f8288d4ec68c6583907ee (patch) | |
tree | ab4825f4bc6a79a48bedd7fe92fc36eeafb513f2 | |
parent | 8c304a2f6e43f41fa58ab1f04cc2fbfc39299b15 (diff) |
fix /next guard
-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 72a2dc4..6751c7a 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 if Config.next_adds_job + jobs.want += 1 if Oxidized.config.next_adds_job? end end end |