debian-mirror-gitlab/config/initializers/stackprof.rb

6 lines
122 B
Ruby
Raw Normal View History

2020-07-28 23:09:34 +05:30
# frozen_string_literal: true
2020-10-24 23:57:45 +05:30
if Gitlab::Utils.to_boolean(ENV['STACKPROF_ENABLED'].to_s)
Gitlab::StackProf.install
end