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

This commit is contained in:
wxiaoguang authored and GitHub committed 2024-11-05 13:10:57 +00:00
1 parent 24b83ff63e
commit 41b4ef825d
5 files changed
+9 -6

No files matched your search

+2 -2
View File
@@ -237,7 +237,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{
@@ -337,7 +337,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{