Sha256: 27a2483b523e09329b218c5f92fdefbb023c9b2f4b4812754152b2a9339a8c0c

Contents?: true

Size: 354 Bytes

Versions: 93

Compression:

Stored size: 354 Bytes

Contents

module GovukHealthcheck
  class SidekiqRedis
    def name
      :redis_connectivity
    end

    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
  end
end

Version data entries

93 entries across 93 versions & 1 rubygems

Version Path
govuk_app_config-9.3.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-9.2.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-9.1.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-9.0.4 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-9.0.3 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-9.0.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-9.0.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-9.0.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-8.1.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-8.1.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-8.0.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-8.0.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-8.0.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-7.2.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-7.2.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-7.1.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-7.0.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-6.0.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-6.0.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-5.1.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb