Use the default job queue to deliver emails

This is the default in Rails 6.1 for Action Mailer, just like it's the
default for Active Storage.
This commit is contained in:
Javi Martín
2023-07-15 15:57:53 +02:00
parent 50dc9dee69
commit 4984ac44d3

View File

@@ -45,7 +45,7 @@ Rails.application.config.action_dispatch.ssl_default_redirect_status = 308
Rails.application.config.active_record.legacy_connection_handling = false
# Set the default queue name for the mail deliver job to the queue adapter default.
# Rails.application.config.action_mailer.deliver_later_queue_name = nil
Rails.application.config.action_mailer.deliver_later_queue_name = nil
# Generate a `Link` header that gives a hint to modern browsers about
# preloading assets when using `javascript_include_tag` and `stylesheet_link_tag`.