Merge pull request #38 from edx/e0d/enable-profiling
enabling profiling for the load test environment
This commit is contained in:
Коммит
39b82502b5
4
app.rb
4
app.rb
|
@ -22,6 +22,10 @@ if ["staging", "production", "loadtest", "edgestage","edgeprod"].include? enviro
|
|||
require 'newrelic_rpm'
|
||||
end
|
||||
|
||||
if ENV["ENABLE_GC_PROFILER"]
|
||||
GC::Profiler.enable
|
||||
end
|
||||
|
||||
set :cache, Dalli::Client.new
|
||||
|
||||
application_yaml = ERB.new(File.read("config/application.yml")).result()
|
||||
|
|
Загрузка…
Ссылка в новой задаче