aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-08-26 23:47:37 -0700
committerchrislu <chris.lu@gmail.com>2022-08-26 23:47:37 -0700
commit9920d65bc0c146a58e1d89f31f36cca3b2f3e107 (patch)
tree9f070edbb19b4621d92281849aba40d9ab01b51c
parentc839ce1b193b6ab079afff88c3b52666bc879340 (diff)
downloadseaweedfs-9920d65bc0c146a58e1d89f31f36cca3b2f3e107.tar.xz
seaweedfs-9920d65bc0c146a58e1d89f31f36cca3b2f3e107.zip
gateway to remote object store: adjust upload concurrency
-rw-r--r--weed/remote_storage/s3/s3_storage_client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/remote_storage/s3/s3_storage_client.go b/weed/remote_storage/s3/s3_storage_client.go
index 6a9e216e1..9b4e93088 100644
--- a/weed/remote_storage/s3/s3_storage_client.go
+++ b/weed/remote_storage/s3/s3_storage_client.go
@@ -155,7 +155,7 @@ func (s *s3RemoteStorageClient) WriteFile(loc *remote_pb.RemoteStorageLocation,
// Create an uploader with the session and custom options
uploader := s3manager.NewUploaderWithClient(s.conn, func(u *s3manager.Uploader) {
u.PartSize = partSize
- u.Concurrency = 1
+ u.Concurrency = 8
})
// process tagging