Commit fc25d3a2 authored by Shinya Maeda's avatar Shinya Maeda

Change the default concurrency on merge train

This commit changes the default concurrency on merge train
parent 264290e7
---
title: Change the default concurrency factor of merge train to 20
merge_request: 20201
author:
type: changed
...@@ -32,8 +32,8 @@ Merge trains have the following requirements and limitations: ...@@ -32,8 +32,8 @@ Merge trains have the following requirements and limitations:
- This feature requires that - This feature requires that
[pipelines for merged results](../index.md#pipelines-for-merged-results-premium) are [pipelines for merged results](../index.md#pipelines-for-merged-results-premium) are
**configured properly**. **configured properly**.
- Each merge train can run a maximum of **four** pipelines in parallel. - Each merge train can run a maximum of **twenty** pipelines in parallel.
If more than four merge requests are added to the merge train, the merge requests If more than twenty merge requests are added to the merge train, the merge requests
will be queued until a slot in the merge train is free. There is no limit to the will be queued until a slot in the merge train is free. There is no limit to the
number of merge requests that can be queued. number of merge requests that can be queued.
- This feature does not support [squash and merge](../../../../user/project/merge_requests/squash_and_merge.md). - This feature does not support [squash and merge](../../../../user/project/merge_requests/squash_and_merge.md).
......
...@@ -70,7 +70,7 @@ module MergeTrains ...@@ -70,7 +70,7 @@ module MergeTrains
def max_concurrency def max_concurrency
strong_memoize(:max_concurrency) do strong_memoize(:max_concurrency) do
if Feature.enabled?(:merge_trains_parallel_pipelines, project, default_enabled: true) if Feature.enabled?(:merge_trains_parallel_pipelines, project, default_enabled: true)
if Feature.enabled?(:merge_trains_high_concurrency, project) if Feature.enabled?(:merge_trains_high_concurrency, project, default_enabled: true)
HIGH_CONCURRENCY HIGH_CONCURRENCY
elsif Feature.enabled?(:merge_trains_medium_concurrency, project) elsif Feature.enabled?(:merge_trains_medium_concurrency, project)
MEDIUM_CONCURRENCY MEDIUM_CONCURRENCY
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment