aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/queueing
Commit message (Collapse)AuthorAgeFilesLines
* adding Rails::Queueing::ContainerAaron Patterson2012-07-191-0/+30
| | | | | | | | | | | | | | | 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
* Make TestQueueTest work with marshalling queuePaul Battley2012-07-031-25/+60
| | | | | This requires all jobs to be instances of named classes, without block implementations of methods.
* Allow overriding exception handling in threaded consumerCarlos Antonio da Silva2012-05-041-0/+19
|
* Use Rails::Queueing::Queue instead of Queue so people can build their own ↵José Valim2012-04-281-1/+1
| | | | consumers around stdlib's Queue
* Add parentheses to hide Ruby warningPrem Sichanugrist2012-04-271-1/+1
|
* Merge pull request #6021 from sikachu/log_exceptionJosé Valim2012-04-271-0/+16
|\ | | | | Log the exception from the ThreadConsumer
| * Log the exception from the ThreadConsumerPrem Sichanugrist2012-04-271-0/+16
| | | | | | | | This will make sure you know when there's an exception occur.
* | ensure that draining the queue will raise exceptionsAaron Patterson2012-04-271-0/+5
| |
* | adding the `jobs` method to the test queue for getting a list of testAaron Patterson2012-04-271-0/+6
|/ | | | jobs.
* oops!Aaron Patterson2012-04-271-1/+0
|
* Extend stdlib queue for the test queueAaron Patterson2012-04-271-10/+10
|
* do not depend on timeAaron Patterson2012-04-271-4/+4
|
* clean up empty linesVsevolod Romashov2012-04-281-3/+3
|
* fixes run order in Rails::Queueing::TestQueueVsevolod Romashov2012-04-281-0/+13
|
* Missing git add :trollface:Yehuda Katz2012-04-262-0/+109