doc/administration/settings/git_lfs_rate_limits.md
{{< details >}}
{{< /details >}}
Git Large File Storage (LFS) is a Git extension for handling large files. If you use Git LFS in your repository, common Git operations can generate many Git LFS requests. You can enforce general user and IP rate limits, but you can also override the general setting to enforce additional limits on Git LFS requests. This override can improve the security and durability of your web application.
On GitLab.com, Git LFS requests are subject to authenticated web request rate limits. These limits are set to 1000 requests per minute per user.
Each Git LFS object uploaded or downloaded generates an HTTP request that counts toward this limit.
[!note] Projects with multiple large files may encounter an HTTP rate limit error. This error occurs during cloning or pulling, when performed from a single IP address in automated environments like CI/CD pipelines.
Git LFS rate limits are disabled by default on GitLab Self-Managed instances. Administrators can configure dedicated rate limits specifically for Git LFS traffic. When enabled, these dedicated LFS rate limits override the default user and IP rate limits.
Prerequisites:
To configure Git LFS rate limits: