Raise command API limit (#376)

This commit is contained in:
Jesse Peterson
2018-01-29 22:51:34 -08:00
committed by GitHub
parent a45d79f37a
commit 979f32be43

View File

@@ -47,7 +47,7 @@ func EncodeError(ctx context.Context, err error, w http.ResponseWriter) {
func decodeRequest(ctx context.Context, r *http.Request) (interface{}, error) {
var req newCommandRequest
err := json.NewDecoder(io.LimitReader(r.Body, 10000)).Decode(&req)
err := json.NewDecoder(io.LimitReader(r.Body, 100000)).Decode(&req)
return req, err
}