Sha256: 57f6cfee256f44932954a0b9ec3913154aae6fd879bbbaffc859c403e7f05539

Contents?: true

Size: 216 Bytes

Versions: 100

Compression:

Stored size: 216 Bytes

Contents

module GovukHealthcheck
  class ActiveRecord
    def name
      :database_connectivity
    end

    def status
      ::ActiveRecord::Base.connection
      OK
    rescue StandardError
      CRITICAL
    end
  end
end

Version data entries

100 entries across 100 versions & 1 rubygems

Version Path
govuk_app_config-9.8.2 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.8.1 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.8.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.7.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.6.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.5.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.4.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.3.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.2.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.1.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.0.4 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.0.3 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.0.2 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.0.1 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-9.0.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-8.1.1 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-8.1.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-8.0.2 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-8.0.1 lib/govuk_app_config/govuk_healthcheck/active_record.rb
govuk_app_config-8.0.0 lib/govuk_app_config/govuk_healthcheck/active_record.rb