提交 209549c9 编写于 作者: S Shinya Maeda

Revert iunnecessary change(gitaly)

上级 5b88bd81
......@@ -23,8 +23,7 @@ module Gitlab
klass = Gitaly.const_get(name.to_s.camelcase.to_sym).const_get(:Stub)
addr = address(storage)
addr = addr.sub(%r{^tcp://}, '') if URI(addr).scheme == 'tcp'
timeout = 10 if Rails.env.test?
klass.new(addr, :this_channel_is_insecure, timeout: timeout)
klass.new(addr, :this_channel_is_insecure)
end
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册