[#155] Fixed default maxKey value

Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
Denis Kirillov 2021-07-13 17:57:48 +03:00
parent 5fb4c4fad6
commit 288f6edce8

View file

@ -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())