43f037c903
It seems that bad things happen when two gRPC stubs share one gRPC channel so let's stop doing that. The downside of this is that we create more gRPC connections; one per stub.
8 lines
218 B
Ruby
8 lines
218 B
Ruby
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
|