1---
2stage: Create
3group: Source Code
4info: "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"
5type: reference
6---
7
8# Push event activities limit and bulk push events **(FREE)**
9
10> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/31007) in GitLab 12.4.
11
12Set the number of branches or tags to limit the number of single push events
13allowed at once. If the number of events is greater than this, GitLab creates
14bulk push event instead.
15
16For example, if 4 branches are pushed and the limit is currently set to 3,
17the activity feed displays:
18
19![Bulk push event](img/bulk_push_event_v12_4.png)
20
21With this feature, when a single push includes a lot of changes (for example, 1,000
22branches), only 1 bulk push event is created instead of 1,000 push
23events. This helps in maintaining good system performance and preventing spam on
24the activity feed.
25
26To modify this setting:
27
28- In the Admin Area:
29  1. On the top bar, select **Menu > Admin**.
30  1. On the left sidebar, select **Settings > Network**, then expand **Performance optimization**.
31- Through the [Application settings API](../../../api/settings.md#list-of-settings-that-can-be-accessed-via-api-calls)
32  as `push_event_activities_limit`.
33
34The default value is 3, but it can be greater than or equal 0.
35
36![Push event activities limit](img/push_event_activities_limit_v12_4.png)
37