Commit f0fa00df by e0d

changing loading strategy to use env variable.

parent cef1a45d
......@@ -22,7 +22,7 @@ if ["staging", "production", "loadtest", "edgestage","edgeprod"].include? enviro
require 'newrelic_rpm'
end
if ["loadtest"].include? environment
if ENV["ENABLE_GC_PROFILER"]
GC::Profiler.enable
end
......
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