Import and export rate limits

  • Tier: Free, Premium, Ultimate
  • Offering: GitLab Self-Managed

You can configure the rate limits for file imports and exports of projects and groups, for imports from other sources, and for relations exports used by direct transfer. For information on the default rate limits, see import and export rate limits and direct transfer limits.

When a user exceeds a rate limit, it is logged in auth.log.

Change an import or export rate limit

Prerequisites:

  • Administrator access.

To change a rate limit:

  1. In the upper-right corner, select Admin.
  2. In the left sidebar, select Settings > Network.
  3. Expand Import and export rate limits.
  4. Change the value of any rate limit. The rate limits are per minute per user, not per IP address. The relations export rate limits are also per project or group. Set to 0 to disable a rate limit.
SettingApplies toDefault
Maximum project import requests per minuteFile-based project imports, starting an import from any source in the UI, and starting a GitHub, Bitbucket Cloud, or Bitbucket Server import with the API.6

Change the GitHub gists import rate limit

The rate limit for importing GitHub gists is not available in the Admin area. The default is 6 requests per minute per user.

Prerequisites:

  • Administrator access.

To change the rate limit, use one of the following:

  • The application settings API:

    shell
    curl --request PUT \
      --header "PRIVATE-TOKEN: <your_access_token>" \
      --url "https://gitlab.example.com/api/v4/application/settings?github_gists_import_limit=10"
  • The Rails console:

    ruby
    ApplicationSetting.current.update!(github_gists_import_limit: 10)

Set to 0 to disable the rate limit.