Skip to content

Commit

Permalink
Do not override queue with config
Browse files Browse the repository at this point in the history
  • Loading branch information
lardawge committed Aug 26, 2015
1 parent 9d32697 commit 75f824d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backgrounder/support/backends.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def enqueue_immediate(worker, *args)
end

def sidekiq_queue_options(args)
args['queue'] = queue_options[:queue] if queue_options[:queue]
args['queue'] = queue_options[:queue] if queue_options[:queue] && args['class'].sidekiq_options['queue'] == 'default'
args['retry'] = queue_options[:retry] unless queue_options[:retry].nil?
args['timeout'] = queue_options[:timeout] if queue_options[:timeout]
args['backtrace'] = queue_options[:backtrace] if queue_options[:backtrace]
Expand Down

0 comments on commit 75f824d

Please sign in to comment.