Module: AdvancedSneakersActiveJob::ActiveJobPatch
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/advanced_sneakers_activejob/active_job_patch.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#enqueue(options = {}) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/advanced_sneakers_activejob/active_job_patch.rb', line 29 def enqueue( = {}) # Since ActiveJob v5 :priority option is supported natively https://github.com/rails/rails/pull/19425 # publish_options holds its own :priority to "backport" priority feature to ActiveJob v4 self. = .except(:wait, :wait_until, :queue) super end |