Change max message size fields from uint64 to uint32.

This commit is contained in:
Mark D. Roth 2017-01-26 14:43:08 -08:00
parent 325a0c2061
commit 6e0ace39fe
1 changed files with 2 additions and 2 deletions

View File

@ -492,11 +492,11 @@ type MethodConfig struct {
// by the application via the gRPC client API. If either one is not set, then the other
// will be used. If neither is set, then the built-in default is used.
// TODO: support this.
MaxReqSize uint64
MaxReqSize uint32
// MaxRespSize is the maximum allowed payload size for an individual response in a
// stream (server->client) in bytes.
// TODO: support this.
MaxRespSize uint64
MaxRespSize uint32
}
// ServiceConfig is provided by the service provider and contains parameters for how