aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/queueing.rb
Commit message (Collapse)AuthorAgeFilesLines
* Copy-edits at Rails::Queueing documentationRafael Mendonça França2012-07-211-2/+2
|
* adding Rails::Queueing::ContainerAaron Patterson2012-07-191-0/+27
| | | | | | | | | | | | | | | 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
* Ensure test jobs are marshallablePaul Battley2012-07-031-0/+7
| | | | | | | | | | By marshalling and unmarshalling jobs when adding them to the test queue, we can ensure that jobs created during test runs are valid candidates for marshalling, and, thus, that they can be used with queueing backends other than the default simple in-process implementation. This will also be used in a subsequent commit to ensure that jobs pushed to the queue do not contain a reference to the queue itself.
* Add some docs and changelog entryCarlos Antonio da Silva2012-05-041-2/+2
|
* Allow overriding exception handling in threaded consumerCarlos Antonio da Silva2012-05-041-1/+5
|
* Use Rails::Queueing::Queue instead of Queue so people can build their own ↵José Valim2012-04-281-0/+8
| | | | consumers around stdlib's Queue
* Fix failing test, TestQueue#contents is not #jobsCarlos Antonio da Silva2012-04-271-1/+1
|
* Merge pull request #6021 from sikachu/log_exceptionJosé Valim2012-04-271-1/+5
|\ | | | | Log the exception from the ThreadConsumer
| * Log the exception from the ThreadConsumerPrem Sichanugrist2012-04-271-1/+5
| | | | | | | | This will make sure you know when there's an exception occur.
* | adding the `jobs` method to the test queue for getting a list of testAaron Patterson2012-04-271-0/+8
|/ | | | jobs.
* Extend stdlib queue for the test queueAaron Patterson2012-04-271-18/+2
|
* fixes run order in Rails::Queueing::TestQueueVsevolod Romashov2012-04-281-1/+1
|
* Missing git add :trollface:Yehuda Katz2012-04-261-0/+65