Use 8 as default value for git lfs concurrency (#32421)
This commit is contained in:
parent
f6273e2250
commit
b84a59b3cd
5 changed files with 9 additions and 6 deletions
|
@ -67,8 +67,8 @@ func loadLFSFrom(rootCfg ConfigProvider) error {
|
|||
}
|
||||
|
||||
if LFSClient.BatchOperationConcurrency < 1 {
|
||||
// match the default git-lfs's `lfs.concurrenttransfers`
|
||||
LFSClient.BatchOperationConcurrency = 3
|
||||
// match the default git-lfs's `lfs.concurrenttransfers` https://github.com/git-lfs/git-lfs/blob/main/docs/man/git-lfs-config.adoc#upload-and-download-transfer-settings
|
||||
LFSClient.BatchOperationConcurrency = 8
|
||||
}
|
||||
|
||||
LFS.HTTPAuthExpiry = sec.Key("LFS_HTTP_AUTH_EXPIRY").MustDuration(24 * time.Hour)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue