diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-19 12:09:39 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2012-07-19 12:09:39 -0700 |
commit | 3b3ca133071419a42c0b1f55c96fc604ff73f2ac (patch) | |
tree | ed88fbf05020aa8ee637a9dff0bcb6cddc2fb223 /railties/lib/rails/tasks/statistics.rake | |
parent | fa3c84fabee01847c3468cd1e8e32003693bc629 (diff) | |
download | rails-3b3ca133071419a42c0b1f55c96fc604ff73f2ac.tar.gz rails-3b3ca133071419a42c0b1f55c96fc604ff73f2ac.tar.bz2 rails-3b3ca133071419a42c0b1f55c96fc604ff73f2ac.zip |
adding Rails::Queueing::Container
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
Diffstat (limited to 'railties/lib/rails/tasks/statistics.rake')
0 files changed, 0 insertions, 0 deletions