Browse Source

gateway to remote object store: adjust upload concurrency

pull/3534/head
chrislu 2 years ago
parent
commit
9920d65bc0
  1. 2
      weed/remote_storage/s3/s3_storage_client.go

2
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

Loading…
Cancel
Save