From 45ce858fd92e2af75989369088631087c9cd6033 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Thu, 10 Nov 2022 02:31:09 +0100 Subject: Fix `mailers` queue not being used for mailers (#20274) Regression since Rails 6.1 --- config/application.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'config/application.rb') diff --git a/config/application.rb b/config/application.rb index 2e54eb6f6..4d6c7ebf1 100644 --- a/config/application.rb +++ b/config/application.rb @@ -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 -- cgit