Skip to content
Snippets Groups Projects
Commit 209549c9 authored by Shinya Maeda's avatar Shinya Maeda
Browse files

Revert iunnecessary change(gitaly)

parent 5b88bd81
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment