Sha256: 1e131e08c1aa33bf1744c4bf8164a0b98934642deae838f6b52dd46ea4d57fe5

Contents?: true

Size: 263 Bytes

Versions: 13

Compression:

Stored size: 263 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hermes-rb-0.10.1 lib/hermes/checks/health_check.rb
hermes-rb-0.10.0 lib/hermes/checks/health_check.rb
hermes-rb-0.9.1 lib/hermes/checks/health_check.rb
hermes-rb-0.9.0 lib/hermes/checks/health_check.rb
hermes-rb-0.8.0 lib/hermes/checks/health_check.rb
hermes-rb-0.7.5 lib/hermes/checks/health_check.rb
hermes-rb-0.7.4 lib/hermes/checks/health_check.rb
hermes-rb-0.7.3 lib/hermes/checks/health_check.rb
hermes-rb-0.7.2 lib/hermes/checks/health_check.rb
hermes-rb-0.7.1 lib/hermes/checks/health_check.rb
hermes-rb-0.7.0 lib/hermes/checks/health_check.rb
hermes-rb-0.6.1 lib/hermes/checks/health_check.rb
hermes-rb-0.6.0 lib/hermes/checks/health_check.rb