summaryrefslogtreecommitdiff
path: root/config/initializers/health_check.rb
blob: 6796407d4e64b5427112c36e980674c69c09366f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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']
end