Skip to content

Commit

Permalink
Correct accidental regression in scheduler introduced in #3060 (#3064)
Browse files Browse the repository at this point in the history
  • Loading branch information
gs-kamnas authored Feb 12, 2024
1 parent 7bfc6ca commit 63cc441
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oxidized/jobs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63cc441

Please sign in to comment.