chore: move mailer to sidekiq

This commit is contained in:
simon lehericey 2024-03-26 21:25:14 +01:00
parent bfc68f8377
commit 6ff26666c5
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

View file

@ -21,5 +21,9 @@ if Rails.env.production? && sidekiq_enabled
class MaintenanceTasks::TaskJob
self.queue_adapter = :sidekiq
end
class PriorizedMailDeliveryJob < ActionMailer::MailDeliveryJob
self.queue_adapter = :sidekiq
end
end
end