Commit ca13bb71 authored by nnelson's avatar nnelson Committed by Stan Hu

Increase timeout for FetchInternalRemote RPC call

This call is currently only used by `UpdateRepositoryStorageService`,
and it can easily time out after 30 seconds for large projects. Increase
it to a long timeout to ensure this doesn't fail prematurely.

Encountered in
https://gitlab.com/gitlab-com/gl-infra/production/issues/1250
parent 196f802c
---
title: Increase timeout for FetchInternalRemote RPC call
merge_request: 18908
author:
type: fixed
...@@ -49,7 +49,7 @@ module Gitlab ...@@ -49,7 +49,7 @@ module Gitlab
response = GitalyClient.call(@storage, :remote_service, response = GitalyClient.call(@storage, :remote_service,
:fetch_internal_remote, request, :fetch_internal_remote, request,
timeout: GitalyClient.medium_timeout, timeout: GitalyClient.long_timeout,
remote_storage: repository.storage) remote_storage: repository.storage)
response.result response.result
......
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