diff --git a/doc/administration/settings/img/bulk_push_event_v12_4.png b/doc/administration/settings/img/bulk_push_event_v12_4.png deleted file mode 100644 index 114e87a61f11f67c63c91d19f8666c13960a61c1..0000000000000000000000000000000000000000 Binary files a/doc/administration/settings/img/bulk_push_event_v12_4.png and /dev/null differ diff --git a/doc/administration/settings/push_event_activities_limit.md b/doc/administration/settings/push_event_activities_limit.md index e93750d12c598b370e3dcb37c543df1aaedd4a76..24edfbcd66a1335259fa11e8376dbcefc7f7fda7 100644 --- a/doc/administration/settings/push_event_activities_limit.md +++ b/doc/administration/settings/push_event_activities_limit.md @@ -14,26 +14,24 @@ title: Push event activities limit and bulk push events {{< /details >}} 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 +allowed at once. If the number of events is greater than this value, GitLab creates a bulk push event instead. -For example, if 4 branches are pushed and the limit is set to 3, -the activity feed displays: +For example, if the limit is three push events, but you push to four branches simultaneously, +the activity feed displays a single {{< icon name="commit">}} `Pushed to 4 branches at (project name)` +event instead of four separate push events. The single push event helps maintain good +system performance, and prevents spam on the activity feed. - +To modify this setting from its default value of `3`, either: -With this feature, a single push changing 1,000 branches creates one bulk push event -instead of 1,000 push events. This helps maintain good system performance and prevents spam on -the activity feed. +- In the [Application settings API](../../api/settings.md#available-settings), set the + `push_event_activities_limit`. -To modify this setting: - -- In the **Admin** area: +- In the GitLab UI: 1. On the left sidebar, at the bottom, select **Admin**. - 1. Select **Settings > Network**. + 1. On the left sidebar, select **Settings > Network**. 1. Expand **Performance optimization**. 1. Edit the **Push event activities limit** setting. -- Through the [Application settings API](../../api/settings.md#available-settings) - as `push_event_activities_limit`. + 1. Select **Save changes**. -The default value is `3`, but the value can be greater than or equal to `0`. Setting this value to `0` does not disable throttling. +The value can be greater than or equal to `0`. Setting this value to `0` does not disable throttling.