Welcome to mirror list, hosted at ThFree Co, Russian Federation.

redis.rb « health_checks « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 895bce5a5a9e2db56947361a62a2fe5b44a790be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

module Gitlab
  module HealthChecks
    module Redis
      ALL_INSTANCE_CHECKS =
        ::Gitlab::Redis::ALL_CLASSES.map do |instance_class|
          check_class = Class.new
          check_class.extend(RedisAbstractCheck)
          const_set("#{instance_class.store_name}Check", check_class)

          check_class
        end
    end
  end
end