From 170d1dbc67c0dec568fda1e8619ee4832698c491 Mon Sep 17 00:00:00 2001 From: tom2nonames <13682645264@139.com> Date: Mon, 11 Nov 2019 18:04:09 +0800 Subject: [PATCH] bugfix: Adjust the MaxLength parameter in grpc proto from 4096b to 1M (#820) --- lua/apisix/schema_def.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/apisix/schema_def.lua b/lua/apisix/schema_def.lua index 859be9f79210..7d9832fcd00a 100644 --- a/lua/apisix/schema_def.lua +++ b/lua/apisix/schema_def.lua @@ -402,7 +402,7 @@ _M.proto = { type = "object", properties = { content = { - type = "string", minLength = 1, maxLength = 4096 + type = "string", minLength = 1, maxLength = 1024*1024 } }, required = {"content"},