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

Update max gRPC message size to 128 MB #796

Merged
merged 2 commits into from
May 4, 2022
Merged

Conversation

cretz
Copy link
Member

@cretz cretz commented Apr 28, 2022

What was changed

Changed default max gRPC message size to 128 MB from 64 MB.

Why?

To align with other SDKs and the server

Checklist

  1. Closes Change default gRPC max message size to 128MB #794

@@ -455,7 +455,7 @@ type (
// keepalive pings will be sent.
KeepAlivePermitWithoutStream bool

// MaxPayloadSize is a number of bytes that gRPC would allow to travel to and from server. Defaults to 64 MB.
// MaxPayloadSize is a number of bytes that gRPC would allow to travel to and from server. Defaults to 128 MB.
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to deprecate the setter?

Copy link
Member Author

Choose a reason for hiding this comment

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

I had considered it, but I was having trouble justifying it. Are we hurt by this option being available and/or is it really important to us to remove the option? I definitely wouldn't add it if it wasn't already there, but if I just slap a "deprecated - please don't" it doesn't really do anything for us unless we're actually having trouble with it.

@cretz cretz merged commit 1db665f into temporalio:master May 4, 2022
@cretz cretz deleted the max-msg-size branch May 4, 2022 15:29
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.

Change default gRPC max message size to 128MB
2 participants