Skip to content

Commit

Permalink
Add an ENV var override for queue_type
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Mar 23, 2020
1 parent b7b0fa8 commit e4a26ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/miq_queue.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class MiqQueue < ApplicationRecord
PRIORITY_DIR = [:higher, :lower]

def self.queue_type
Settings.prototype.queue_type
ENV["QUEUE_TYPE"] || Settings.prototype.queue_type
end

def self.queue_client(client_ref)
Expand Down

0 comments on commit e4a26ef

Please sign in to comment.