gitlab-org--gitlab-foss/config/initializers/8_gitaly.rb

9 lines
218 B
Ruby
Raw Normal View History

2017-03-24 13:22:42 -04:00
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