Skip to content

Commit

Permalink
Fix mailers queue not being used for mailers (mastodon#20274)
Browse files Browse the repository at this point in the history
Regression since Rails 6.1
  • Loading branch information
Gargron committed Nov 10, 2022
1 parent a539498 commit 45ce858
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ class Application < Rails::Application
# 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
Expand Down

0 comments on commit 45ce858

Please sign in to comment.