Skip to content

Commit

Permalink
Merge pull request #7664 from arunagw/build_fix_railties
Browse files Browse the repository at this point in the history
Fix build for Queue.
  • Loading branch information
rafaelfranca committed Sep 17, 2012
2 parents a036dc8 + 3e4458b commit c1b1215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/application/finisher.rb
Expand Up @@ -98,7 +98,7 @@ module Finisher

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
Expand Down

0 comments on commit c1b1215

Please sign in to comment.