debian-mirror-gitlab/config/initializers/mailer_retries.rb

8 lines
253 B
Ruby
Raw Normal View History

2021-09-04 01:27:46 +05:30
# frozen_string_literal: true
2021-11-18 22:05:49 +05:30
Rails.application.config.after_initialize do
ActionMailer::MailDeliveryJob.sidekiq_options retry: 3
2023-07-09 08:55:56 +05:30
ActionMailer::MailDeliveryJob.include(WorkerAttributes)
ActionMailer::MailDeliveryJob.data_consistency :delayed
2021-09-04 01:27:46 +05:30
end