Update s3 library (again)

This commit is contained in:
Alexander Neumann 2016-01-02 18:25:37 +01:00
parent fc347ba60f
commit 69e6e9e5c7
2 changed files with 8 additions and 8 deletions

4
Godeps/Godeps.json generated
View file

@ -24,8 +24,8 @@
}, },
{ {
"ImportPath": "github.com/minio/minio-go", "ImportPath": "github.com/minio/minio-go",
"Comment": "v0.2.5-195-gf30b6ca", "Comment": "v0.2.5-197-g45a4b10",
"Rev": "f30b6ca90bfda7578f6a11b7ba6af2eae7b0510c" "Rev": "45a4b10109a2313378515d89cd3be55ff58c11c2"
}, },
{ {
"ImportPath": "github.com/pkg/sftp", "ImportPath": "github.com/pkg/sftp",

View file

@ -20,19 +20,19 @@ package minio
// minimumPartSize - minimum part size 5MiB per object after which // minimumPartSize - minimum part size 5MiB per object after which
// putObject behaves internally as multipart. // putObject behaves internally as multipart.
var minimumPartSize int64 = 1024 * 1024 * 5 const minimumPartSize = 1024 * 1024 * 5
// maxParts - maximum parts for a single multipart session. // maxParts - maximum parts for a single multipart session.
var maxParts = int64(10000) const maxParts = 10000
// maxPartSize - maximum part size 5GiB for a single multipart upload operation. // maxPartSize - maximum part size 5GiB for a single multipart upload operation.
var maxPartSize int64 = 1024 * 1024 * 1024 * 5 const maxPartSize = 1024 * 1024 * 1024 * 5
// maxSinglePutObjectSize - maximum size 5GiB of object per PUT operation. // maxSinglePutObjectSize - maximum size 5GiB of object per PUT operation.
var maxSinglePutObjectSize = 1024 * 1024 * 1024 * 5 const maxSinglePutObjectSize = 1024 * 1024 * 1024 * 5
// maxMultipartPutObjectSize - maximum size 5TiB of object for Multipart operation. // maxMultipartPutObjectSize - maximum size 5TiB of object for Multipart operation.
var maxMultipartPutObjectSize = 1024 * 1024 * 1024 * 1024 * 5 const maxMultipartPutObjectSize = 1024 * 1024 * 1024 * 1024 * 5
// optimalReadAtBufferSize - optimal buffer 5MiB used for reading through ReadAt operation. // optimalReadAtBufferSize - optimal buffer 5MiB used for reading through ReadAt operation.
var optimalReadAtBufferSize = 1024 * 1024 * 5 const optimalReadAtBufferSize = 1024 * 1024 * 5