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
Increase HTTP connection pool size and add config override
The connection pool was previously sized to Environment.ProcessorCount (e.g., 8
on an 8-core machine). HTTP object downloads are I/O-bound, not CPU-bound, so
CPU count is a poor proxy for optimal connection concurrency. Under burst
workloads like git checkout, connections saturate almost instantly.
Set the default to 2x ProcessorCount. This provides more headroom during burst
object download scenarios without being overly aggressive for machines with
multiple mounts.
The pool size can be overridden via git config:
git config gvfs.max-http-connections <value>
Any positive integer is accepted. The semaphore is adjusted in-place (via
Release/Wait) rather than replaced, so in-flight requests always release
permits to the correct instance.
Work item: 60167591
Assisted-by: Claude Opus 4.6
Signed-off-by: Tyrie Vella <tyrielv@gmail.com>
0 commit comments