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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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