forked from TrueCloudLab/frostfs-s3-gw
[#155] Fixed default maxKey value
Signed-off-by: Denis Kirillov <denis@nspcc.ru>
This commit is contained in:
parent
5fb4c4fad6
commit
288f6edce8
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ type ListMultipartUploadsResult struct {
|
||||||
Xmlns string `xml:"xmlns,attr"`
|
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) {
|
func (h *handler) registerAndSendError(w http.ResponseWriter, r *http.Request, err error, logText string) {
|
||||||
rid := api.GetRequestID(r.Context())
|
rid := api.GetRequestID(r.Context())
|
||||||
|
|
Loading…
Reference in a new issue