Push event activities limit and bulk push events
- Tier: Free, Premium, Ultimate
- Offering: GitLab Self-Managed, GitLab Dedicated
To maintain good system performance and prevent spam on the activity feed, set a Push event activities limit.
By default, GitLab sets this limit to 3. When you push changes that affect more than 3 branches and tags,
GitLab creates a bulk push event instead of individual push events.
For example, if you push to four branches simultaneously, the activity feed displays a single
Pushed to 4 branches at (project name) event instead of four separate
push events.
Bulk push events behave differently from standard push events:
- Activity feed: A single bulk push entry appears instead of individual push events.
- Events API: Returns bulk push events with
commit_count: 0andref_countthat shows the number of refs pushed. Individual commit details (commit_from,commit_to,ref,commit_title) arenull.
If your integrations or external systems must process every pushed ref individually:
- Keep the number of refs per push below the
push_event_activities_limit. - Split large pushes into multiple smaller pushes.
Webhook triggering is controlled separately by the push_event_hooks_limit setting.
For more information, see Push event limits.
Prerequisites:
- Administrator access.
To set a different Push event activities limit, either:
-
In the Application settings API, set the
push_event_activities_limit. -
In the GitLab UI:
- In the upper-right corner, select Admin.
- On the left sidebar, select Settings > Network.
- Expand Performance optimization.
- Edit the Push event activities limit setting.
- Select Save changes.
The value can be greater than or equal to 0. Setting this value to 0 does not disable throttling.