mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
limit number of buckets to 500k (#15668)
500k is a reasonable limit for any single MinIO cluster deployment, in future we may increase this value. However for now we are going to keep this limit.
This commit is contained in:
@@ -53,6 +53,9 @@ const (
|
||||
|
||||
// Maximum size for user-defined metadata - See: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingMetadata.html
|
||||
maxUserDataSize = 2 * 1024
|
||||
|
||||
// maxBuckets upto 500000 for any MinIO deployment.
|
||||
maxBuckets = 500 * 1000
|
||||
)
|
||||
|
||||
// ReservedMetadataPrefix is the prefix of a metadata key which
|
||||
|
||||
Reference in New Issue
Block a user