Browse Source

Remove miniprofiler setting

CLDC-1222-improve-case-log-import-performance
Mo Seedat 2 years ago
parent
commit
9142a1412b
  1. 2
      config/environments/development.rb
  2. 2
      config/environments/staging.rb
  3. 2
      config/environments/test.rb

2
config/environments/development.rb

@ -91,6 +91,4 @@ Rails.application.configure do
# see https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
config.active_record.yaml_column_permitted_classes = [Time]
Rack::MiniProfiler.config.storage = Rack::MiniProfiler::MemoryStore
end

2
config/environments/staging.rb

@ -127,6 +127,4 @@ Rails.application.configure do
# see https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
config.active_record.yaml_column_permitted_classes = [Time]
Rack::MiniProfiler.config.storage = Rack::MiniProfiler::MemoryStore
end

2
config/environments/test.rb

@ -70,6 +70,4 @@ Rails.application.configure do
# see https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
config.active_record.yaml_column_permitted_classes = [Time]
Rack::MiniProfiler.config.storage = Rack::MiniProfiler::MemoryStore
end

Loading…
Cancel
Save