diff options
author | Saku Ytti <saku@ytti.fi> | 2017-01-12 15:45:12 +0200 |
---|---|---|
committer | Saku Ytti <saku@ytti.fi> | 2017-01-12 15:45:12 +0200 |
commit | 25f100e67c63e118ed72b442c8051c179c9bf777 (patch) | |
tree | ecc7ccddc99200b43342661f1a98039ddaa3fbb2 | |
parent | 691141d90dfdf982e98b02eab7e8938a95dd5855 (diff) |
fix /next guardnext-with-new-thread
-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 |