diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2023-10-21 10:15:24 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2023-10-21 10:15:24 +0000 |
commit | 249c4736006b11a09d111252ae81da5fb12a4aeb (patch) | |
tree | 2abae93a114c56233b6beec5331d7fdc56db8e8b | |
parent | 6a7f2536b5562128f00ce0513d00350137986ad5 (diff) | |
download | redmine-249c4736006b11a09d111252ae81da5fb12a4aeb.tar.gz redmine-249c4736006b11a09d111252ae81da5fb12a4aeb.zip |
Add check in Redmine information page if default queue adapter is used in production (#36695).
git-svn-id: https://svn.redmine.org/redmine/trunk@22360 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | app/controllers/admin_controller.rb | 1 | ||||
-rw-r--r-- | config/locales/en.yml | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 40a04dcf7..d365d3519 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -85,5 +85,6 @@ class AdminController < ApplicationController [:text_convert_available, Redmine::Thumbnail.convert_available?], [:text_gs_available, Redmine::Thumbnail.gs_available?] ] + @checklist << [:text_default_active_job_queue_changed, Rails.application.config.active_job.queue_adapter == :asyncs] #if Rails.env == 'production' end end diff --git a/config/locales/en.yml b/config/locales/en.yml index 7674619ec..670a00d9e 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1280,6 +1280,7 @@ en: text_minimagick_available: MiniMagick available (optional) text_convert_available: ImageMagick convert available (optional) text_gs_available: ImageMagick PDF support available (optional) + text_default_active_job_queue_changed: Default queue adapter changed (is well suited only for dev/test) text_destroy_time_entries_question: "%{hours} hours were reported on the issues you are about to delete. What do you want to do?" text_destroy_time_entries: Delete reported hours text_assign_time_entries_to_project: Assign reported hours to the project |