debian-mirror-gitlab/config/initializers/stackprof.rb
2021-06-08 01:23:25 +05:30

5 lines
122 B
Ruby

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