summaryrefslogtreecommitdiff
path: root/config/initializers/health_check.rb
diff options
context:
space:
mode:
authorDJ Mountney <david@twkie.net>2016-07-11 09:06:36 -0700
committerDJ Mountney <david@twkie.net>2016-07-11 09:30:47 -0700
commitd2f003a344e6f29a0ad5115c7d8dec5727b87895 (patch)
tree738f029fe51f1b57bef9a711854033f2ced028ab /config/initializers/health_check.rb
parent3239c5f666fb93cbd66cf9b1d02b8a9d6e8b0d51 (diff)
downloadgitlab-ce-d2f003a344e6f29a0ad5115c7d8dec5727b87895.tar.gz
Update the health_check gem to the latest releaseupdate-health-check-gem
This allows us to drop our disable email config override
Diffstat (limited to 'config/initializers/health_check.rb')
-rw-r--r--config/initializers/health_check.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/config/initializers/health_check.rb b/config/initializers/health_check.rb
index 6796407d4e6..4c91a61fb4a 100644
--- a/config/initializers/health_check.rb
+++ b/config/initializers/health_check.rb
@@ -1,16 +1,3 @@
-# Email forcibly included in the standard checks, but the email health check
-# doesn't support the full range of SMTP options, which can result in failures
-# for valid SMTP configurations.
-# Overwrite the HealthCheck's detection of whether email is configured
-# in order to avoid the email check during standard checks
-module HealthCheck
- class Utils
- def self.mailer_configured?
- false
- end
- end
-end
-
HealthCheck.setup do |config|
config.standard_checks = ['database', 'migrations', 'cache']
config.full_checks = ['database', 'migrations', 'cache']