Skip to content

Commit

Permalink
Fix MiqWorker.scalable? logic
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed May 15, 2019
1 parent c9d5048 commit 6952ca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_worker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def self.workers
end

def self.scalable?
maximum_workers_count.kind_of?(Integer) && maximum_workers_count == 1
maximum_workers_count.nil? || maximum_workers_count > 1
end

def scalable?
Expand Down

0 comments on commit 6952ca3

Please sign in to comment.