From 69e6e9e5c7efcbe72397b5871edc006ed1eae30e Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sat, 2 Jan 2016 18:25:37 +0100 Subject: [PATCH] Update s3 library (again) --- Godeps/Godeps.json | 4 ++-- .../src/github.com/minio/minio-go/constants.go | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Godeps/Godeps.json b/Godeps/Godeps.json index 97d89996a..8ec11491e 100644 --- a/Godeps/Godeps.json +++ b/Godeps/Godeps.json @@ -24,8 +24,8 @@ }, { "ImportPath": "github.com/minio/minio-go", - "Comment": "v0.2.5-195-gf30b6ca", - "Rev": "f30b6ca90bfda7578f6a11b7ba6af2eae7b0510c" + "Comment": "v0.2.5-197-g45a4b10", + "Rev": "45a4b10109a2313378515d89cd3be55ff58c11c2" }, { "ImportPath": "github.com/pkg/sftp", diff --git a/Godeps/_workspace/src/github.com/minio/minio-go/constants.go b/Godeps/_workspace/src/github.com/minio/minio-go/constants.go index 617621298..f4978019f 100644 --- a/Godeps/_workspace/src/github.com/minio/minio-go/constants.go +++ b/Godeps/_workspace/src/github.com/minio/minio-go/constants.go @@ -20,19 +20,19 @@ package minio // minimumPartSize - minimum part size 5MiB per object after which // putObject behaves internally as multipart. -var minimumPartSize int64 = 1024 * 1024 * 5 +const minimumPartSize = 1024 * 1024 * 5 // 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. -var maxPartSize int64 = 1024 * 1024 * 1024 * 5 +const maxPartSize = 1024 * 1024 * 1024 * 5 // 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. -var maxMultipartPutObjectSize = 1024 * 1024 * 1024 * 1024 * 5 +const maxMultipartPutObjectSize = 1024 * 1024 * 1024 * 1024 * 5 // optimalReadAtBufferSize - optimal buffer 5MiB used for reading through ReadAt operation. -var optimalReadAtBufferSize = 1024 * 1024 * 5 +const optimalReadAtBufferSize = 1024 * 1024 * 5