Module: Backburner::Queue
- Defined in:
- lib/backburner/queue.rb
Defined Under Namespace
Modules: ClassMethods
Class Method Summary collapse
Class Method Details
.included(base) ⇒ Object
3 4 5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/backburner/queue.rb', line 3 def self.included(base) base.instance_variable_set(:@queue_name, nil) base.instance_variable_set(:@queue_priority, nil) base.instance_variable_set(:@queue_respond_timeout, nil) base.instance_variable_set(:@queue_max_job_retries, nil) base.instance_variable_set(:@queue_retry_delay, nil) base.instance_variable_set(:@queue_retry_delay_proc, nil) base.instance_variable_set(:@queue_jobs_limit, nil) base.instance_variable_set(:@queue_garbage_limit, nil) base.instance_variable_set(:@queue_retry_limit, nil) base.extend ClassMethods Backburner::Worker.known_queue_classes << base end |