mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix build for Queue.
This commit is contained in:
parent
2a301505ec
commit
3e4458b73b
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ module Rails
|
|||
|
||||
initializer :activate_queue_consumer do |app|
|
||||
if config.queue == ActiveSupport::Queue
|
||||
app.queue_consumer = config.queue_consumer.start(app.queue, Rails.logger)
|
||||
app.queue_consumer = config.queue_consumer.start(app.queue, {logger: Rails.logger})
|
||||
at_exit { app.queue_consumer.shutdown }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue