Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increasing default server max message size to 16MB #145

Merged
merged 2 commits into from
Sep 18, 2018
Merged

Conversation

kellrott
Copy link
Member

No description provided.

server/server.go Outdated
@@ -94,6 +94,7 @@ func (server *GripServer) Serve(pctx context.Context) error {
streamErrorInterceptor(),
),
),
grpc.MaxMsgSize(1024*1028*16),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This option is depreciated. You should use https://godoc.org/google.golang.org/grpc#MaxCallSendMsgSize

@adamstruck adamstruck merged commit e82fd3d into master Sep 18, 2018
@adamstruck adamstruck deleted the msg-size branch September 19, 2018 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants