diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-04-12 10:55:22 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2019-04-15 11:17:56 +0300 |
commit | 75ec347d4499b98f27aa1f712258e7fac25fab15 (patch) | |
tree | 2d410ee3458497ebe1898615944927190f430b1a /lib | |
parent | 0a99e0220d9371423039f05f700af3675b26624f (diff) |
Git FSCK has no timeout
FSCK is usually called through sidekiq, but a rake task doesn't have a
mechanism to default to no timeout for this RPC.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53319
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/gitaly_client/repository_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client/repository_service.rb b/lib/gitlab/gitaly_client/repository_service.rb index a08bfd0e25b..74aae4a8e97 100644 --- a/lib/gitlab/gitaly_client/repository_service.rb +++ b/lib/gitlab/gitaly_client/repository_service.rb @@ -190,7 +190,7 @@ module Gitlab def fsck request = Gitaly::FsckRequest.new(repository: @gitaly_repo) - response = GitalyClient.call(@storage, :repository_service, :fsck, request) + response = GitalyClient.call(@storage, :repository_service, :fsck, request, timeout: GitalyClient.no_timeout) if response.error.empty? return "", 0 |