GitLab applies rate limits to Git operations that use SSH by user account and project. When the rate limit is exceeded, GitLab rejects further connection requests from that user for the project.
The rate limit applies at the Git command (plumbing) level. Each command has a rate limit of 600 per minute. For example:
git pushhas a rate limit of 600 per minute.
git pullhas its own rate limit of 600 per minute.
Because the same commands are shared by
git pull, and
git clone, they share a rate limit.
Users on self-managed GitLab can disable this rate limit.
Introduced in GitLab 16.2.
Git operations using SSH is enabled by default. Defaults to 600 per user per minute.
- On the left sidebar, select Your work > Admin Area.
- On the left sidebar, select Settings > Network.
- Expand Git SSH operations rate limit.
- Enter a value for Maximum number of Git operations per minute.
- Select Save changes.