1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-02-01 03:57:15 +00:00

Adds the Bullet gem to detect query problems such as N+1 and improve performance (#42555).

Patch by Katsuya HIDAKA (user:hidakatsuya).


git-svn-id: https://svn.redmine.org/redmine/trunk@23621 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2025-04-10 11:05:01 +00:00
parent 17f5e172e8
commit d325010d64
2 changed files with 7 additions and 0 deletions

View File

@ -98,6 +98,7 @@ group :development do
gem 'listen', '~> 3.3'
gem 'yard', require: false
gem 'svg_sprite', require: false
gem 'bullet'
end
group :test do

View File

@ -59,4 +59,10 @@ Rails.application.configure do
# Uncomment if you wish to allow Action Cable access from any origin.
# config.action_cable.disable_request_forgery_protection = true
config.after_initialize do
Bullet.enable = true
Bullet.rails_logger = true
Bullet.skip_user_in_notification = true
end
end