From ec6077d343c5a3ac054c4821d01a8fae058ba1ff Mon Sep 17 00:00:00 2001
From: Oleg Krivtsov <olegkrivtsov@gmail.com>
Date: Thu, 9 Dec 2021 19:46:27 +0700
Subject: [PATCH] feat(preset)!: decrease prConcurrentLimit to 10 (#12892)

BREAKING CHANGE: Configurations extending config:base will now default to maximum 10 concurrent PRs instead of 20.
---
 docs/usage/configuration-options.md   | 2 +-
 lib/config/presets/index.spec.ts      | 2 +-
 lib/config/presets/internal/config.ts | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/usage/configuration-options.md b/docs/usage/configuration-options.md
index 0e2b6d8d7a..c0a81a42a9 100644
--- a/docs/usage/configuration-options.md
+++ b/docs/usage/configuration-options.md
@@ -243,7 +243,7 @@ Configuring this to `true` means that Renovate will detect and apply the default
 ## branchConcurrentLimit
 
 By default, Renovate won't enforce any concurrent branch limits.
-The `config:base` preset that many extend from limits the amount of concurrent branches to 20, but in most cases we would recommend lower values such as 5 or 10.
+The `config:base` preset that many extend from limits the amount of concurrent branches to 10, but in many cases a limit as low as 3 or 5 can be most efficient for a repository.
 
 If you want the same limit for both concurrent branches and concurrent PRs, then just set a value for `prConcurrentLimit` and it will be reused for branch calculations too.
 However, if you want to allow more concurrent branches than concurrent PRs, you can configure both values (e.g. `branchConcurrentLimit=5` and `prConcurrentLimit=3`).
diff --git a/lib/config/presets/index.spec.ts b/lib/config/presets/index.spec.ts
index 523484bdfc..eaeb3c418d 100644
--- a/lib/config/presets/index.spec.ts
+++ b/lib/config/presets/index.spec.ts
@@ -615,7 +615,7 @@ describe('config/presets/index', () => {
           ':ignoreModulesAndTests',
           ':autodetectPinVersions',
           ':prHourlyLimit2',
-          ':prConcurrentLimit20',
+          ':prConcurrentLimit10',
           'group:monorepos',
           'group:recommended',
           'workarounds:all',
diff --git a/lib/config/presets/internal/config.ts b/lib/config/presets/internal/config.ts
index d861013c0b..39042052b2 100644
--- a/lib/config/presets/internal/config.ts
+++ b/lib/config/presets/internal/config.ts
@@ -9,7 +9,7 @@ export const presets: Record<string, Preset> = {
       ':ignoreModulesAndTests',
       ':autodetectPinVersions',
       ':prHourlyLimit2',
-      ':prConcurrentLimit20',
+      ':prConcurrentLimit10',
       'group:monorepos',
       'group:recommended',
       'workarounds:all',
-- 
GitLab