Use 8 as default value for git lfs concurrency (#32421)

This commit is contained in:
wxiaoguang 2024-11-05 21:10:57 +08:00 committed by Otto Richter
parent f6273e2250
commit b84a59b3cd
5 changed files with 9 additions and 6 deletions

View file

@ -238,7 +238,7 @@ func TestHTTPClientDownload(t *testing.T) {
},
}
defer test.MockVariableValue(&setting.LFSClient.BatchOperationConcurrency, 3)()
defer test.MockVariableValue(&setting.LFSClient.BatchOperationConcurrency, 8)()
for _, c := range cases {
t.Run(c.endpoint, func(t *testing.T) {
client := &HTTPClient{
@ -338,7 +338,7 @@ func TestHTTPClientUpload(t *testing.T) {
},
}
defer test.MockVariableValue(&setting.LFSClient.BatchOperationConcurrency, 3)()
defer test.MockVariableValue(&setting.LFSClient.BatchOperationConcurrency, 8)()
for _, c := range cases {
t.Run(c.endpoint, func(t *testing.T) {
client := &HTTPClient{