Skip to content

Commit

Permalink
bugfix: Adjust the MaxLength parameter in grpc proto from 4096b to 1M (
Browse files Browse the repository at this point in the history
  • Loading branch information
tom2nonames committed Nov 11, 2019
1 parent 5e85e93 commit 170d1db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/apisix/schema_def.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down

0 comments on commit 170d1db

Please sign in to comment.