mirror of
https://github.com/chrislusf/seaweedfs
synced 2024-06-28 21:31:56 +02:00
gateway to remote object store: adjust upload concurrency
This commit is contained in:
parent
c839ce1b19
commit
9920d65bc0
|
@ -155,7 +155,7 @@ func (s *s3RemoteStorageClient) WriteFile(loc *remote_pb.RemoteStorageLocation,
|
||||||
// Create an uploader with the session and custom options
|
// Create an uploader with the session and custom options
|
||||||
uploader := s3manager.NewUploaderWithClient(s.conn, func(u *s3manager.Uploader) {
|
uploader := s3manager.NewUploaderWithClient(s.conn, func(u *s3manager.Uploader) {
|
||||||
u.PartSize = partSize
|
u.PartSize = partSize
|
||||||
u.Concurrency = 1
|
u.Concurrency = 8
|
||||||
})
|
})
|
||||||
|
|
||||||
// process tagging
|
// process tagging
|
||||||
|
|
Loading…
Reference in a new issue