Class: Hermes::Checks::HealthCheck

Inherits:
Object
  • Object
show all
Defined in:
lib/hermes/checks/health_check.rb

Class Method Summary collapse

Class Method Details

.checkObject



4
5
6
7
8
9
10
11
# File 'lib/hermes/checks/health_check.rb', line 4

def self.check
  broker = Hutch::Broker.new
  broker.connect
  broker.disconnect
  ""
rescue StandardError => e
  "[Hermes - #{e.message}] "
end