2019-12-21 20:55:43 +05:30
---
2020-10-24 23:57:45 +05:30
stage: Create
group: Source Code
2021-02-22 17:27:13 +05:30
info: "To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments"
2019-12-21 20:55:43 +05:30
type: reference
---
2021-03-11 19:13:27 +05:30
# Push event activities limit and bulk push events **(FREE)**
2019-12-21 20:55:43 +05:30
2020-06-23 00:09:42 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/31007) in GitLab 12.4.
2019-12-21 20:55:43 +05:30
2021-03-11 19:13:27 +05:30
Set the number of branches or tags to limit the number of single push events
allowed at once. If the number of events is greater than this, GitLab creates
bulk push event instead.
2019-12-21 20:55:43 +05:30
For example, if 4 branches are pushed and the limit is currently set to 3,
2021-04-17 20:07:23 +05:30
the activity feed displays:
2019-12-21 20:55:43 +05:30
![Bulk push event ](img/bulk_push_event_v12_4.png )
2021-03-11 19:13:27 +05:30
With this feature, when a single push includes a lot of changes (for example, 1,000
branches), only 1 bulk push event is created instead of 1,000 push
2019-12-21 20:55:43 +05:30
events. This helps in maintaining good system performance and preventing spam on
the activity feed.
2021-09-04 01:27:46 +05:30
To modify this setting:
- In the Admin Area:
2021-11-11 11:23:49 +05:30
1. On the top bar, select **Menu > Admin** .
1. On the left sidebar, select **Settings > Network** , then expand **Performance optimization** .
2021-09-04 01:27:46 +05:30
- Through the [Application settings API ](../../../api/settings.md#list-of-settings-that-can-be-accessed-via-api-calls )
as `push_event_activities_limit` .
The default value is 3, but it can be greater than or equal 0.
2019-12-21 20:55:43 +05:30
![Push event activities limit ](img/push_event_activities_limit_v12_4.png )