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
This commit is contained in:
Marius Balteanu
2023-10-21 10:15:24 +00:00
parent 6a7f2536b5
commit 249c473600
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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