class GovukHealthcheck::SidekiqRedis

Public Instance Methods

name() click to toggle source
# File lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb, line 3
def name
  :redis_connectivity
end
status() click to toggle source
# File lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb, line 7
def status
  Sidekiq.redis_info ? OK : CRITICAL
rescue StandardError
  # One would expect a Redis::BaseConnectionError, but this should be
  # critical if any exception is raised when making a call to redis.
  CRITICAL
end