Browse Source

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

Regression since Rails 6.1
closed-social-glitch-2
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
45ce858fd9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      config/application.rb

+ 1
- 0
config/application.rb 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

Loading…
Cancel
Save