chore: move mailer to sidekiq
This commit is contained in:
parent
bfc68f8377
commit
6ff26666c5
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue