Sha256: 640fb6731bf5e32ddf147c56f29fbb13b6ac173c55010771318e4a347665ed50
Contents?: true
Size: 355 Bytes
Versions: 16
Compression:
Stored size: 355 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
16 entries across 16 versions & 1 rubygems