diff --git a/lib/oxidized/jobs.rb b/lib/oxidized/jobs.rb index c1008e8d2..e205fad7b 100644 --- a/lib/oxidized/jobs.rb +++ b/lib/oxidized/jobs.rb @@ -49,7 +49,7 @@ def increment # a) less threads running than the total amount of nodes # b) we want less than the max specified number of threads - want = [(@want + 1), @nodes.size, @max].min + @want = [(@want + 1), @nodes.size, @max].min end def work