gitlab-org--gitlab-foss/config/initializers/stackprof.rb

6 lines
122 B
Ruby
Raw Normal View History

# frozen_string_literal: true
if Gitlab::Utils.to_boolean(ENV['STACKPROF_ENABLED'].to_s)
Gitlab::StackProf.install
end