mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 12:38:29 +08:00
Remove memory profiler at least until I push a new docker image
This commit is contained in:
parent
d3b8ec36d0
commit
212ece3e80
5
Gemfile
5
Gemfile
|
@ -196,11 +196,6 @@ gem 'lru_redux'
|
|||
|
||||
gem 'flamegraph', require: false
|
||||
gem 'rack-mini-profiler', require: false
|
||||
begin
|
||||
gem 'memory_profiler', require: false, platform: :mri_21
|
||||
rescue
|
||||
puts "WARNING: you are running an old version of bundler, please run 'gem update bundler'"
|
||||
end
|
||||
|
||||
# used for caching, optional
|
||||
gem 'rack-cors', require: false
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
if Rails.configuration.respond_to?(:enable_mini_profiler) && Rails.configuration.enable_mini_profiler
|
||||
require 'rack-mini-profiler'
|
||||
require 'flamegraph'
|
||||
require 'memory_profiler' if RUBY_VERSION >= "2.1.0"
|
||||
# initialization is skipped so trigger it
|
||||
Rack::MiniProfilerRails.initialize!(Rails.application)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user