1234567891011121314151617181920212223 |
- class ApplicationJob
- module HasDelayedJobMonitoringCompatibilty
- extend ActiveSupport::Concern
- included do
-
-
-
-
- after_enqueue do |job|
-
-
- next if job.provider_job_id.blank?
-
-
- Delayed::Job.where(id: job.provider_job_id).update_all(attempts: job.executions)
- end
- end
- end
- end
|