Increase maximum size of PUT request to 5TB (#5241)

fixes #5148
This commit is contained in:
Krishna Srinivas
2017-11-27 23:29:02 -08:00
committed by Nitish Tiwari
parent cf414a6053
commit 71f9d2beff
2 changed files with 3 additions and 3 deletions

View File

@@ -93,11 +93,11 @@ func checkValidMD5(md5 string) ([]byte, error) {
/// http://docs.aws.amazon.com/AmazonS3/latest/dev/UploadingObjects.html
const (
// Maximum object size per PUT request is 16GiB.
// Maximum object size per PUT request is 5TB.
// This is a divergence from S3 limit on purpose to support
// use cases where users are going to upload large files
// using 'curl' and presigned URL.
globalMaxObjectSize = 16 * humanize.GiByte
globalMaxObjectSize = 5 * humanize.TiByte
// Minimum Part size for multipart upload is 5MiB
globalMinPartSize = 5 * humanize.MiByte