feat(default.queues): mailers that are not critical are low, otherwise critical. analysis is default, purge is low

This commit is contained in:
mfo 2024-09-24 21:25:10 +02:00
parent afe98704e9
commit b8b727f06b
No known key found for this signature in database
GPG key ID: 7CE3E1F5B794A8EC
5 changed files with 12 additions and 20 deletions

View file

@ -53,14 +53,14 @@ module TPS
config.action_dispatch.ip_spoofing_check = false
# Set the queue name for the mail delivery jobs to 'mailers'
config.action_mailer.deliver_later_queue_name = 'mailers'
config.action_mailer.deliver_later_queue_name = 'critical' # otherwise, :low
# Allow the error messages format to be customized
config.active_model.i18n_customize_full_message = true
# Set the queue name for the analysis jobs to 'active_storage_analysis'
config.active_storage.queues.analysis = :active_storage_analysis
config.active_storage.queues.purge = :purge
config.active_storage.queues.analysis = :default
config.active_storage.queues.purge = :low
config.active_support.cache_format_version = 7.0