We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2754331 commit 74f98f9Copy full SHA for 74f98f9
api/src/main/java/io/minio/ObjectWriteArgs.java
@@ -30,8 +30,8 @@
30
* PutObjectBaseArgs}, {@link ComposeObjectArgs} and {@link CopyObjectArgs}.
31
*/
32
public abstract class ObjectWriteArgs extends ObjectArgs {
33
- // allowed maximum object size is 5TiB.
34
- public static final long MAX_OBJECT_SIZE = 5L * 1024 * 1024 * 1024 * 1024;
+ // allowed maximum object size is 48.828125 TiB.
+ public static final long MAX_OBJECT_SIZE = MAX_PART_SIZE * MAX_MULTIPART_COUNT;
35
// allowed minimum part size is 5MiB in multipart upload.
36
public static final int MIN_MULTIPART_SIZE = 5 * 1024 * 1024;
37
// allowed maximum part size is 5GiB in multipart upload.
0 commit comments