summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorGavin Mak <gavinmak@google.com>2026-02-03 20:59:23 +0000
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2026-02-06 13:32:28 -0800
commita214fd31bd477dda2708ab9f3bc675081ceff696 (patch)
treed751a4004ad76d04cdbc2035867e27fe8b4ea85d /docs
parent62cd0de6cfbe7d2b7e966396d24bc337a962bdd7 (diff)
downloadgit-repo-a214fd31bd477dda2708ab9f3bc675081ceff696.tar.gz
manifest: Introduce `sync-j-max` attribute to cap sync jobs
Add a way for manifest owners to limit how many sync jobs run in parallel. Bug: 481100878 Change-Id: Ia6cbe02cbc83c9e414b53b8d14fe5e7e1b802505 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/548963 Reviewed-by: Mike Frysinger <vapier@google.com> Tested-by: Gavin Mak <gavinmak@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/manifest-format.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/manifest-format.md b/docs/manifest-format.md
index 1eead91de..c3cbe0707 100644
--- a/docs/manifest-format.md
+++ b/docs/manifest-format.md
@@ -51,6 +51,7 @@ following DTD:
51 <!ATTLIST default dest-branch CDATA #IMPLIED> 51 <!ATTLIST default dest-branch CDATA #IMPLIED>
52 <!ATTLIST default upstream CDATA #IMPLIED> 52 <!ATTLIST default upstream CDATA #IMPLIED>
53 <!ATTLIST default sync-j CDATA #IMPLIED> 53 <!ATTLIST default sync-j CDATA #IMPLIED>
54 <!ATTLIST default sync-j-max CDATA #IMPLIED>
54 <!ATTLIST default sync-c CDATA #IMPLIED> 55 <!ATTLIST default sync-c CDATA #IMPLIED>
55 <!ATTLIST default sync-s CDATA #IMPLIED> 56 <!ATTLIST default sync-s CDATA #IMPLIED>
56 <!ATTLIST default sync-tags CDATA #IMPLIED> 57 <!ATTLIST default sync-tags CDATA #IMPLIED>
@@ -213,7 +214,9 @@ can be found. Used when syncing a revision locked manifest in
213-c mode to avoid having to sync the entire ref space. Project elements 214-c mode to avoid having to sync the entire ref space. Project elements
214not setting their own `upstream` will inherit this value. 215not setting their own `upstream` will inherit this value.
215 216
216Attribute `sync-j`: Number of parallel jobs to use when synching. 217Attribute `sync-j`: Number of parallel jobs to use when syncing.
218
219Attribute `sync-j-max`: Maximum number of parallel jobs to use when syncing.
217 220
218Attribute `sync-c`: Set to true to only sync the given Git 221Attribute `sync-c`: Set to true to only sync the given Git
219branch (specified in the `revision` attribute) rather than the 222branch (specified in the `revision` attribute) rather than the