mirror of
https://github.com/minio/minio.git
synced 2025-11-30 13:42:53 -05:00
Reduce memory usage for memory multipart write by doing io.Pipe() streaming copy
This commit is contained in:
@@ -361,6 +361,7 @@ func (donut API) createObject(bucket, key, contentType, expectedMD5Sum string, s
|
||||
donut.storedBuckets.Set(bucket, storedBucket)
|
||||
return objMetadata, nil
|
||||
}
|
||||
|
||||
// calculate md5
|
||||
hash := md5.New()
|
||||
sha256hash := sha256.New()
|
||||
|
||||
Reference in New Issue
Block a user