Skip to content

Commit

Permalink
Set grpc max message size to 128MB.
Browse files Browse the repository at this point in the history
Signed-off-by: Anshul Pundir <anshul.pundir@docker.com>
  • Loading branch information
anshulpundir committed Sep 15, 2017
1 parent bd7bafb commit 41c7e7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@ func New(config *Config) (*Manager, error) {
grpc.Creds(config.SecurityConfig.ServerTLSCreds),
grpc.StreamInterceptor(grpc_prometheus.StreamServerInterceptor),
grpc.UnaryInterceptor(grpc_prometheus.UnaryServerInterceptor),
grpc.MaxMsgSize(1024 * 1024 * 128),
}

m := &Manager{
Expand Down

0 comments on commit 41c7e7d

Please sign in to comment.