debian-mirror-gitlab/config/initializers/health_check.rb
2019-09-30 21:07:59 +05:30

11 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