summaryrefslogtreecommitdiff
path: root/config/initializers/8_gitaly.rb
blob: 31c7c91d78fd313f12c4d78943383dd32d29c1e7 (plain)
1
2
3
4
5
6
7
8
require 'uri'

if Gitlab.config.gitaly.enabled || Rails.env.test?
  Gitlab.config.repositories.storages.keys.each do |storage|
    # Force validation of each address
    Gitlab::GitalyClient.address(storage)
  end
end