From 979f32be439d2f61c88c3ccce601fca861861926 Mon Sep 17 00:00:00 2001 From: Jesse Peterson Date: Mon, 29 Jan 2018 22:51:34 -0800 Subject: [PATCH] Raise command API limit (#376) --- platform/command/transport_http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/command/transport_http.go b/platform/command/transport_http.go index 41d0a36b..c5c07af2 100644 --- a/platform/command/transport_http.go +++ b/platform/command/transport_http.go @@ -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 }