Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 1.8 KB

File metadata and controls

39 lines (28 loc) · 1.8 KB
stage Data Stores
group Tenant Scale
info To determine the technical writer assigned to the Stage/Group associated with this page, see https://handbook.gitlab.com/handbook/product/ux/technical-writing/#assignments

Rate limit on Projects API

DETAILS: Tier: Free, Premium, Ultimate Offering: Self-managed

You can configure the rate limit per IP address for unauthenticated requests to the list all projects API.

To change the rate limit:

  1. On the left sidebar, at the bottom, select Admin Area.
  2. Select Settings > Network.
  3. Expand Projects API rate limit.
  4. In the Maximum requests per 10 minutes per IP address text box, enter the new value.
  5. Select Save changes.

The rate limit:

  • Applies per IP address.
  • Doesn't apply to authenticated requests.
  • Can be set to 0 to disable rate limiting.

The default value of the rate limit is 400.

Requests over the rate limit are logged into the auth.log file.

For example, if you set a limit of 400, unauthenticated requests to the GET /projects API endpoint that exceed a rate of 400 within 10 minutes are blocked. Access to the endpoint is restored after ten minutes have elapsed.