You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: make GIT_SUBPROCESS_PARALLELISM configurable with smart clamping
Enhances GIT_SUBPROCESS_PARALLELISM to be configurable via env var with
auto-clamping to [1, 2×CPU_COUNT] to prevent runaway process spawning.
Defaults to 4 for backward compatibility. Improves fleet-scale agent
workflows on high-core machines while protecting against misconfiguration.
Updated documentation in docs/install.md to explain the env var, default,
and the auto-clamping safety mechanism.
Fixes#2
Copy file name to clipboardExpand all lines: docs/install.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,16 +91,18 @@ Omit any `cwd` / `workingDirectory` field unless your client requires it for unr
91
91
92
92
| Variable | Default | Purpose |
93
93
|----------|---------|---------|
94
-
|`GIT_SUBPROCESS_PARALLELISM`|`4`| Number of parallel git subprocesses for inventory operations and `git_status` submodule rows. Increase on high-core machines or for slow network connections; decrease if system resources are constrained. |
94
+
|`GIT_SUBPROCESS_PARALLELISM`|`4`| Number of parallel git subprocesses for inventory operations and `git_status` submodule rows. Valid range: 1 to 2×CPU count (auto-clamped to prevent runaway spawning). Increase on high-core machines to accelerate large fleet scans; decrease if system resources are constrained. |
95
95
96
96
Set these in the environment where the MCP client launches the server (e.g. in your shell, in the MCP client config as `env`, or in a startup script).
97
97
98
-
Example: Running the server with 8 parallel git processes:
98
+
Example: Running the server with 8 parallel git processes on a 4-core machine:
0 commit comments