David Heinemeier Hansson
26dc3ea7b8
Rename #perform_with_hooks to #execution
2014-05-22 20:37:06 +02:00
David Heinemeier Hansson
c073ba339a
Add callbacks, implement instrumentation as callbacks, and have the enqueue methods return a job instance
2014-05-22 19:33:23 +02:00
Douwe Maan
484dbd8ed6
Rename Adapter.queue and .queue_at to .enqueue and .enqueue_at for consistency.
2014-05-21 15:22:48 +02:00
Douwe Maan
a00df7ea6e
Don't deserialize parameters in individual adapters.
...
It's not their responsibility and this makes logging (and rescuing from errors, eventually!) a lot easier.
2014-05-21 15:20:15 +02:00
Mike Perham
b49d3f105f
merge master
2014-05-20 08:35:12 -07:00
Douwe Maan
9b5562a4bf
Determine full class name dynamically in QC adapter.
2014-05-20 11:37:04 +02:00
Mike Perham
3648838173
Implement enqueue_at/enqueue_in
...
Delayed jobs are supported by all systems except QueueClassic. For it I decided to raise NotImplementedError.
The inline implementation is a bit rough.
2014-05-19 15:27:28 -07:00
Cristian Bica
5cad2c1b8a
Implemented queue_classic adapter
2014-05-20 00:01:56 +03:00