mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
3b3ca13307
This allows us to do: In your configuration: Rails.queue[:image_queue] = SomeQueue.new Rails.queue[:mail_queue] = SomeQueue.new In your app code: Rails.queue[:mail_queue].push MailJob.new Both jobs pushed to the same default queue Rails.queue.push DefaultJob.new Rails.queue[:default].push DefaultJob.new |
||
---|---|---|
.. | ||
application | ||
commands | ||
configuration | ||
fixtures | ||
generators | ||
isolation | ||
queueing | ||
railties | ||
abstract_unit.rb | ||
backtrace_cleaner_test.rb | ||
engine_test.rb | ||
generators_test.rb | ||
initializable_test.rb | ||
paths_test.rb | ||
rails_info_controller_test.rb | ||
rails_info_test.rb | ||
script_rails_loader_test.rb |