Commit 697cb6f6 authored by Mark Chao's avatar Mark Chao

Remove timeout for GitalyClient remove_remote

This can be slow because it must potentially remove a lot of remote
refs (if the remote being removed has a lot of refs)
parent 8a59c9fd
---
title: Fix removing remote mirror failure which leaves unnecessary refs behind
merge_request: 26213
author:
type: fixed
......@@ -38,7 +38,7 @@ module Gitlab
def remove_remote(name)
request = Gitaly::RemoveRemoteRequest.new(repository: @gitaly_repo, name: name)
response = GitalyClient.call(@storage, :remote_service, :remove_remote, request, timeout: GitalyClient.fast_timeout)
response = GitalyClient.call(@storage, :remote_service, :remove_remote, request)
response.result
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment