summaryrefslogtreecommitdiff
path: root/config/initializers/health_check.rb
blob: 9f466dc39de34bd0ff4b912d9ed8230de320cc61 (plain)
1
2
3
4
5
6
7
8
9
10
HealthCheck.setup do |config|
  config.standard_checks = %w(database migrations cache)
  config.full_checks = %w(database migrations cache)

  Gitlab.ee do
    config.add_custom_check('geo') do
      Gitlab::Geo::HealthCheck.new.perform_checks
    end
  end
end