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)
This commit is contained in:
Mark Chao 2019-03-15 17:05:37 +08:00
parent 8a59c9fdba
commit 697cb6f627
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
title: Fix removing remote mirror failure which leaves unnecessary refs behind
merge_request: 26213
author:
type: fixed

View File

@ -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