Commit 75ec347d authored by Zeger-Jan van de Weg's avatar Zeger-Jan van de Weg

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.

parent 0a99e022
title: Remove deadline for Git fsck
merge_request: 27299
type: fixed
......@@ -190,7 +190,7 @@ module Gitlab
def fsck
request = @gitaly_repo)
response =, :repository_service, :fsck, request)
response =, :repository_service, :fsck, request, timeout: GitalyClient.no_timeout)
if response.error.empty?
return "", 0
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