Gitaly timeouts are configurable. The timeouts can be configured to make sure that long-running Gitaly calls don’t needlessly take up resources.
To access Gitaly timeout settings:
- On the top bar, select Menu > Admin.
- On the left sidebar, select Settings > Preferences.
- Expand the Gitaly timeouts section.
The following timeouts are available.
|Default||55 seconds||Timeout for most Gitaly calls (not enforced for |
|Fast||10 seconds||Timeout for fast Gitaly operations used within requests, sometimes multiple times. For example, checking if a repository exists on disk. If fast operations exceed this threshold, there may be a problem with a storage shard. Failing fast can help maintain the stability of the GitLab instance.|
|Medium||30 seconds||Timeout for Gitaly operations that should be fast (possibly within requests) but preferably not used multiple times within a request. For example, loading blobs. Timeout that should be set between Default and Fast.|