Abdelkader Boudih
a712c07c7f
Add Sidekiq adapter/wrapper fixes #3
2014-05-18 19:02:02 +00:00
David Heinemeier Hansson
ce124a19e5
Merge pull request #1 from charliesome/patch-1
...
Clean up JobWrappers::ResqueWrapper.perform
2014-05-18 17:38:27 +02:00
Charlie Somerville
2ac1a02102
Clean up JobWrappers::ResqueWrapper.perform
...
This is not only easier to read, but it'll also properly raise an ArgumentError rather than a NoMethodError when called with no arguments.
It also allocates 4 fewer objects per call (8 down from 12), and is about 50% faster according to a quick benchmark.
2014-05-19 01:27:50 +10:00
David Heinemeier Hansson
b32fdd5731
Queue naming with a base, which requires a JobWrapper to comply to Resques expectation of a class variable
2014-05-18 16:24:30 +02:00
David Heinemeier Hansson
eed52c8808
Add ResqueAdapter and provide test infrastructure for the now multiple adapters
2014-05-18 13:11:00 +02:00
David Heinemeier Hansson
30973e35a0
Rename to InlineAdapter to match *Adapter form, even if the queue is embedded in there too
2014-05-18 13:10:34 +02:00
David Heinemeier Hansson
08a2ba99e0
Simplest job and inline queue
2014-05-18 12:32:22 +02:00
David Heinemeier Hansson
60d13d638e
Run tests through Rake
2014-05-18 12:30:57 +02:00
David Heinemeier Hansson
a832bc387b
Skeleton gem
2014-05-18 11:44:28 +02:00