1
0
Fork 0
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:
Arun Agrawal 2012-09-17 12:13:15 +05:30
parent 2a301505ec
commit 3e4458b73b

View file

@ -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