Module: ActiveJob::QueuePriority::ClassMethods
Relationships & Source Files | |
Defined in: | activejob/lib/active_job/queue_priority.rb |
Overview
Includes the ability to override the default queue priority.
Class Attribute Summary
- .default_priority (also: #default_priority) rw
Instance Attribute Summary
Instance Method Summary
-
#queue_with_priority(priority = nil, &block)
Specifies the priority of the queue to create the job with.
Class Attribute Details
.default_priority (rw) Also known as: #default_priority
[ GitHub ]# File 'activejob/lib/active_job/queue_priority.rb', line 9
mattr_accessor :default_priority
Instance Attribute Details
#default_priority (rw)
[ GitHub ]# File 'activejob/lib/active_job/queue_priority.rb', line 9
mattr_accessor :default_priority