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-4.3.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.2.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.1.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.0.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.0.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-3.3.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-3.2.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.0.0.pre.4 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.0.0.pre.3 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.0.0.pre.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-4.0.0.pre.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-3.1.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-3.1.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-3.0.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-2.10.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-2.9.1 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-2.9.0 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-2.8.4 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-2.8.3 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb
govuk_app_config-2.8.2 lib/govuk_app_config/govuk_healthcheck/sidekiq_redis.rb