diff options
author | Vinicius Stock <vinicius.stock@outlook.com> | 2018-08-11 12:42:21 -0300 |
---|---|---|
committer | Vinicius Stock <vinicius.stock@outlook.com> | 2018-08-11 12:42:21 -0300 |
commit | a486210c982f0e8ce4dd5ea70d1acd5e488c6bd6 (patch) | |
tree | 06483c28de04363519b21d73c30c6f9ed34802ec /railties | |
parent | 09e1452eeba395ce475b087070273e4765dc2fd4 (diff) | |
download | rails-a486210c982f0e8ce4dd5ea70d1acd5e488c6bd6.tar.gz rails-a486210c982f0e8ce4dd5ea70d1acd5e488c6bd6.tar.bz2 rails-a486210c982f0e8ce4dd5ea70d1acd5e488c6bd6.zip |
Make active job name prefix static since Rails.env will always be the same
Diffstat (limited to 'railties')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt index d646694477..888336af92 100644 --- a/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt +++ b/railties/lib/rails/generators/rails/app/templates/config/environments/production.rb.tt @@ -69,7 +69,7 @@ Rails.application.configure do # Use a real queuing backend for Active Job (and separate queues per environment). # config.active_job.queue_adapter = :resque - # config.active_job.queue_name_prefix = "<%= app_name %>_#{Rails.env}" + # config.active_job.queue_name_prefix = "<%= app_name %>_production" <%- unless options.skip_action_mailer? -%> config.action_mailer.perform_caching = false |