gitlab-org--gitlab-foss/config/initializers/health_check.rb

11 lines
262 B
Ruby
Raw Normal View History

HealthCheck.setup do |config|
2017-02-22 17:46:57 +00:00
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