Skip to content

Commit 0556874

Browse files
committed
Match PartSize & Concurrency w/ azure
1 parent 50e7138 commit 0556874

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

s3util/client.go

+3
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ func (client *S3WrapperClient) UploadFile(folder string, fileName string, path s
5656
sess := session.Must(session.NewSession(&client.Config))
5757
uploader := s3manager.NewUploader(sess)
5858

59+
uploader.PartSize = 5 * 1024 * 1024
60+
uploader.Concurrency = 16
61+
5962
file, err := os.Open(path)
6063

6164
if err != nil {

0 commit comments

Comments
 (0)