diff --git a/api/handler/list.go b/api/handler/list.go index af179bab..bcf0ecde 100644 --- a/api/handler/list.go +++ b/api/handler/list.go @@ -37,7 +37,7 @@ type ListMultipartUploadsResult struct { Xmlns string `xml:"xmlns,attr"` } -var maxObjectList = 10000 // Limit number of objects in a listObjectsResponse/listObjectsVersionsResponse. +const maxObjectList = 1000 // Limit number of objects in a listObjectsResponse/listObjectsVersionsResponse. func (h *handler) registerAndSendError(w http.ResponseWriter, r *http.Request, err error, logText string) { rid := api.GetRequestID(r.Context())