aboutsummaryrefslogtreecommitdiffstats
path: root/modules/lfs/http_client_test.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-11-05 21:10:57 +0800
committerGitHub <noreply@github.com>2024-11-05 13:10:57 +0000
commit41b4ef825dba14f11b2e9454692b999f92ee1a42 (patch)
tree19b0358ec1b4be339ecbf023a6f00e702c353e32 /modules/lfs/http_client_test.go
parent24b83ff63e7ffd3d412bc9b509102aa2c507ced1 (diff)
downloadgitea-41b4ef825dba14f11b2e9454692b999f92ee1a42.tar.gz
gitea-41b4ef825dba14f11b2e9454692b999f92ee1a42.zip
Use 8 as default value for git lfs concurrency (#32421)
Diffstat (limited to 'modules/lfs/http_client_test.go')
-rw-r--r--modules/lfs/http_client_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/lfs/http_client_test.go b/modules/lfs/http_client_test.go
index d22735147a..aa7e3c45c4 100644
--- a/modules/lfs/http_client_test.go
+++ b/modules/lfs/http_client_test.go
@@ -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{