]> source.dussan.org Git - redmine.git/commitdiff
Add check in Redmine information page if default queue adapter is used in production...
authorMarius Balteanu <marius.balteanu@zitec.com>
Sat, 21 Oct 2023 10:15:24 +0000 (10:15 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sat, 21 Oct 2023 10:15:24 +0000 (10:15 +0000)
git-svn-id: https://svn.redmine.org/redmine/trunk@22360 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/admin_controller.rb
config/locales/en.yml

index 40a04dcf74f3c6f94a98865aae7e3064f3d261ce..d365d3519d29280f0611c99384b1f6681aef1075 100644 (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
index 7674619ecbc6f000fccec651db5b144f058624ee..670a00d9ec62f11088893c0aea84b90de20f909f 100644 (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