This is an automated email from the ASF dual-hosted git repository.

membphis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-apisix.git


The following commit(s) were added to refs/heads/master by this push:
     new bb28766  change: adjusted the MaxLength parameter in grpc proto from 
4096b to 1M (#820) (#836)
bb28766 is described below

commit bb2876627a0e6a39c40aa9531ff10bde9e924e54
Author: tom2nonames <13682645...@139.com>
AuthorDate: Mon Nov 11 18:45:19 2019 +0800

    change: adjusted the MaxLength parameter in grpc proto from 4096b to 1M 
(#820) (#836)
---
 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 859be9f..7d9832f 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"},

Reply via email to