Class: HealthyRack::Checks::Sidekiq

Inherits:
HealthyRack::Check show all
Defined in:
lib/healthy_rack/checks/sidekiq.rb

Instance Method Summary collapse

Methods inherited from HealthyRack::Check

#==, #hash, #name

Instance Method Details

#callObject



11
12
13
14
15
16
# File 'lib/healthy_rack/checks/sidekiq.rb', line 11

def call
  ::Sidekiq.redis_info
  true
rescue
  false
end

#verifyObject



7
8
9
# File 'lib/healthy_rack/checks/sidekiq.rb', line 7

def verify
  VerifyClassDefinition.call('Sidekiq')
end