Fix `mailers` queue not being used for mailers (#20274)

Regression since Rails 6.1
lolsob-rspec
Eugen Rochko 2022-11-10 02:31:09 +01:00 committed by GitHub
parent 0ac21d1fb8
commit 04a9359ffc
1 changed files with 1 additions and 0 deletions

View File

@ -163,6 +163,7 @@ module Mastodon
# config.autoload_paths += Dir[Rails.root.join('app', 'api', '*')]
config.active_job.queue_adapter = :sidekiq
config.action_mailer.deliver_later_queue_name = 'mailers'
config.middleware.use Rack::Attack
config.middleware.use Mastodon::RackMiddleware