gitlab-org--gitlab-foss/config/initializers/health_check.rb
2019-07-08 15:04:38 -05:00

10 lines
262 B
Ruby

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