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 |
||
---|---|---|
.. | ||
container_test.rb | ||
test_queue_test.rb | ||
threaded_consumer_test.rb |