1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

15 commits

Author SHA1 Message Date
Abdelkader Boudih
392c482785 require both variant of resque-scheduler 2014-07-03 16:44:01 +00:00
Abdelkader Boudih
c5c7497492 require 'resque-scheduler' fix #97 2014-07-03 16:29:42 +00:00
Cristian Bica
243d74eb30 Persist job_id 2014-06-12 14:01:40 +03:00
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
4650a7916b Remove unnecessary comment 2014-05-20 09:53:17 -07: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
Douwe Maan
68793bff19 Refactor Resque adapter to be more consistent with others 2014-05-19 14:00:14 +02:00
David Heinemeier Hansson
afb3d4f9e5 Move to instance method and document usage 2014-05-19 12:46:27 +02:00
David Heinemeier Hansson
37b13cdd1f No need to qualify the Parameters class with the namespace 2014-05-19 12:36:01 +02:00
David Heinemeier Hansson
501cc60ff2 Inline the job wrappers 2014-05-19 12:34:27 +02: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
Renamed from lib/active_job/queue_adapters/inline_queue.rb (Browse further)