2016-05-05 15:25:02 -04:00
|
|
|
HealthCheck.setup do |config|
|
2017-02-22 12:46:57 -05:00
|
|
|
config.standard_checks = %w(database migrations cache)
|
|
|
|
config.full_checks = %w(database migrations cache)
|
2019-07-08 15:47:16 -04:00
|
|
|
|
|
|
|
Gitlab.ee do
|
|
|
|
config.add_custom_check('geo') do
|
|
|
|
Gitlab::Geo::HealthCheck.new.perform_checks
|
|
|
|
end
|
|
|
|
end
|
2016-05-05 15:25:02 -04:00
|
|
|
end
|