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:
parent
8a59c9fdba
commit
697cb6f627
2 changed files with 6 additions and 1 deletions
5
changelogs/unreleased/56015-remove-remote-timeout.yml
Normal file
5
changelogs/unreleased/56015-remove-remote-timeout.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue