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

click_house.rb « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 81468ab28752d1f8a9d4e7a08b414fff9b963709 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

module Gitlab
  module ClickHouse
    DATABASES = [:main].freeze

    def self.configured?
      DATABASES.all? { |db| ::ClickHouse::Client.database_configured?(db) }
    end
  end
end