Commit 39b82502 by e0d

Merge pull request #38 from edx/e0d/enable-profiling

enabling profiling for the load test environment
parents f50e9fde f0fa00df
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment