Welcome to mirror list, hosted at ThFree Co, Russian Federation.

diagnostic_reports.rb « initializers « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 47266f99f2d203014b7999fef78903d85f5b6416 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

return unless Gitlab::Utils.to_boolean(ENV['GITLAB_DIAGNOSTIC_REPORTS_ENABLED'])

return unless Gitlab::Runtime.puma?

Gitlab::Cluster::LifecycleEvents.on_worker_start do
  Gitlab::Memory::ReportsDaemon.instance.start
end