From 64fc260a4da53af34f1f8288d4ec68c6583907ee Mon Sep 17 00:00:00 2001 From: Saku Ytti Date: Thu, 12 Jan 2017 15:45:12 +0200 Subject: fix /next guard --- lib/oxidized/nodes.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1