diff options
author | Andrew Newdigate <andrew@gitlab.com> | 2018-07-11 11:52:48 +0100 |
---|---|---|
committer | Andrew Newdigate <andrew@gitlab.com> | 2018-07-11 12:11:42 +0100 |
commit | 7ee5b1f6fb4e4e77111a194631476456cf4f9f97 (patch) | |
tree | 9b05f80c68ffc265a5205f6e62977efa54376485 /lib/gitlab/gitaly_client/server_service.rb | |
parent | 67708aa57874c7ae33581ca9f217fde82ce7be76 (diff) | |
download | gitlab-ce-7ee5b1f6fb4e4e77111a194631476456cf4f9f97.tar.gz |
Add a fast_timeout for the `ServerService.ServerInfo` endpointgitaly-serverservice-info-timeout
Diffstat (limited to 'lib/gitlab/gitaly_client/server_service.rb')
-rw-r--r-- | lib/gitlab/gitaly_client/server_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/gitaly_client/server_service.rb b/lib/gitlab/gitaly_client/server_service.rb index 2e1076d1f66..ad898278353 100644 --- a/lib/gitlab/gitaly_client/server_service.rb +++ b/lib/gitlab/gitaly_client/server_service.rb @@ -9,7 +9,7 @@ module Gitlab end def info - GitalyClient.call(@storage, :server_service, :server_info, Gitaly::ServerInfoRequest.new) + GitalyClient.call(@storage, :server_service, :server_info, Gitaly::ServerInfoRequest.new, timeout: GitalyClient.fast_timeout) end end end |