mirror of
https://github.com/renovatebot/renovate.git
synced 2025-01-12 15:06:27 +00:00
docs: improve branchConcurrentLimit documentation (#11879)
This commit is contained in:
parent
f25a05fa2c
commit
42bef1e939
1 changed files with 14 additions and 4 deletions
|
@ -248,10 +248,11 @@ Configuring this to `true` means that Renovate will detect and apply the default
|
||||||
|
|
||||||
## branchConcurrentLimit
|
## branchConcurrentLimit
|
||||||
|
|
||||||
By default, Renovate won't enforce any concurrent branch limits. If you want the same limit for both concurrent branches
|
By default, Renovate won't enforce any concurrent branch limits.
|
||||||
and concurrent PRs, then just set a value for `prConcurrentLimit` and it will be reused for branch calculations too.
|
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.
|
||||||
However, if you want to allow more concurrent branches than concurrent PRs, you can configure both values (
|
|
||||||
e.g. `branchConcurrentLimit=5` and `prConcurrentLimit=3`).
|
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`).
|
||||||
|
|
||||||
This limit is enforced on a per-repository basis.
|
This limit is enforced on a per-repository basis.
|
||||||
|
|
||||||
|
@ -263,6 +264,15 @@ Example config:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Warning: Leaving PRs/branches as unlimited or as a high number increases the time it takes for Renovate to process a repository.
|
||||||
|
If you find that Renovate is too slow when rebasing out-of-date branches, decrease the `branchConcurrentLimit`.
|
||||||
|
|
||||||
|
If you have too many concurrent branches which rebase themselves each run, Renovate can take a lot of time to rebase.
|
||||||
|
Solutions:
|
||||||
|
|
||||||
|
- Decrease the concurrent branch limit (note: this won't go and delete any existing, so won't have an effect until you either merge or close existing ones manually)
|
||||||
|
- Remove automerge and/or automatic rebasing (set `rebaseWhen` to `conflicted`). However if you have branch protection saying PRs must be up to date then it's not ideal to remove automatic rebasing
|
||||||
|
|
||||||
## branchName
|
## branchName
|
||||||
|
|
||||||
Warning: it's strongly recommended not to configure this field directly.
|
Warning: it's strongly recommended not to configure this field directly.
|
||||||
|
|
Loading…
Reference in a new issue