Method: ActiveJob::QueuePriority#priority
- Defined in:
- activejob/lib/active_job/queue_priority.rb
#priority ⇒ Object
Returns the priority that the job will be created with
53 54 55 56 57 58 |
# File 'activejob/lib/active_job/queue_priority.rb', line 53 def priority if @priority.is_a?(Proc) @priority = instance_exec(&@priority) end @priority end |