diff options
| author | chrislu <chris.lu@gmail.com> | 2022-08-26 23:47:37 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2022-08-26 23:47:37 -0700 |
| commit | 9920d65bc0c146a58e1d89f31f36cca3b2f3e107 (patch) | |
| tree | 9f070edbb19b4621d92281849aba40d9ab01b51c | |
| parent | c839ce1b193b6ab079afff88c3b52666bc879340 (diff) | |
| download | seaweedfs-9920d65bc0c146a58e1d89f31f36cca3b2f3e107.tar.xz seaweedfs-9920d65bc0c146a58e1d89f31f36cca3b2f3e107.zip | |
gateway to remote object store: adjust upload concurrency
| -rw-r--r-- | weed/remote_storage/s3/s3_storage_client.go | 2 |
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 |
