debian-mirror-gitlab/doc/user/admin_area/settings/gitaly_timeouts.md

31 lines
1.3 KiB
Markdown
Raw Normal View History

2020-04-08 14:13:33 +05:30
---
2020-10-24 23:57:45 +05:30
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
2020-04-08 14:13:33 +05:30
---
2021-01-03 14:25:43 +05:30
# Gitaly timeouts **(CORE ONLY)**
2020-04-08 14:13:33 +05:30
2021-01-03 14:25:43 +05:30
[Gitaly](../../../administration/gitaly/index.md) timeouts are configurable. The timeouts can be
configured to make sure that long running Gitaly calls don't needlessly take up resources.
2020-04-08 14:13:33 +05:30
2021-01-03 14:25:43 +05:30
To access Gitaly timeout settings:
2020-04-08 14:13:33 +05:30
2021-01-03 14:25:43 +05:30
1. Go to **Admin Area > Settings > Preferences**.
1. Expand the **Gitaly** section.
2020-04-08 14:13:33 +05:30
2021-01-03 14:25:43 +05:30
## Available timeouts
2020-04-08 14:13:33 +05:30
2021-01-03 14:25:43 +05:30
The following timeouts can be modified:
2020-04-08 14:13:33 +05:30
2021-01-03 14:25:43 +05:30
- **Default Timeout Period**. 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). Used to make sure that Gitaly
calls made within a web request cannot exceed the entire request timeout.
Defaults to 55 seconds.
2020-04-08 14:13:33 +05:30
2021-01-03 14:25:43 +05:30
- **Fast Timeout Period**. This is the timeout for very short Gitaly calls. Defaults to 10 seconds.
- **Medium Timeout Period**. This timeout should be between the default and the fast timeout.
Defaults to 30 seconds.