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

fix: increase max grpc message size #4869

Merged
merged 1 commit into from Nov 20, 2020
Merged

Conversation

alexmt
Copy link
Collaborator

@alexmt alexmt commented Nov 19, 2020

PR increases max grpc message size. The change is workaround for #4868

Copy link
Member

@jannfis jannfis left a comment

Choose a reason for hiding this comment

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

LGTM - but imho, it would need some kind of documentation somewhere.

// MaxGRPCMessageSize contains max grpc message size
MaxGRPCMessageSize = 100 * 1024 * 1024
MaxGRPCMessageSize = env.ParseNumFromEnv(EnvArgoCDgRPCMaxSizeMB, 200, 0, math.MaxInt32) * 1024 * 1024
Copy link
Member

Choose a reason for hiding this comment

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

👍

Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
@alexmt
Copy link
Collaborator Author

alexmt commented Nov 20, 2020

Good point @jannfis . Documented env variable.

@alexmt alexmt merged commit 97c8b56 into argoproj:master Nov 20, 2020
@alexmt alexmt deleted the grpc-message-size branch November 20, 2020 17:44
alexmt pushed a commit that referenced this pull request Nov 20, 2020
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
alexmt pushed a commit that referenced this pull request Nov 20, 2020
Signed-off-by: Alexander Matyushentsev <AMatyushentsev@gmail.com>
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.

None yet

2 participants