summaryrefslogtreecommitdiff
path: root/doc/user/admin_area/settings/gitaly_timeouts.md
blob: 2003d02c9b382226269bb9c3685dc1e20b2dc9fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
stage: Create
group: Gitaly
info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#designated-technical-writers"
type: reference
type: reference
---

# Gitaly timeouts

![Gitaly timeouts](img/gitaly_timeouts.png)

3 timeout types can be configured to make sure that long running
Gitaly calls don't needlessly take up resources.

- Default timeout

This timeout is the default for most Gitaly calls.
It should be shorter than the worker timeout that can be configured
for
[Puma](https://docs.gitlab.com/omnibus/settings/puma.html#puma-settings)
or [Unicorn](https://docs.gitlab.com/omnibus/settings/unicorn.html).
This makes sure that Gitaly calls made within a web request cannot
exceed these the entire request timeout.

The default for this timeout is 55 seconds.

- Fast timeout

This is the timeout for very short Gitaly calls.

The default for this timeout is 10 seconds.

- Medium timeout

This timeout should be between the default and the fast timeout

The default for this timeout is 30 seconds.