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

Add gRPC config values to configure max send and max receive sizes #674

Merged
merged 2 commits into from
Oct 26, 2023

Conversation

burmanm
Copy link
Collaborator

@burmanm burmanm commented Oct 26, 2023

Sets the default values to 512MB for send and 128MB to recv (I don't see why Medusa would receive larger messages in the gRPC layer).

Fixes #673

Copy link
Contributor

@adejanovski adejanovski left a comment

Choose a reason for hiding this comment

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

Looks good but you have some formatting issues which break the build:

./medusa/service/grpc/server.py:55:91: E251 unexpected spaces around keyword / parameter equals
./medusa/service/grpc/server.py:55:93: E251 unexpected spaces around keyword / parameter equals

@burmanm
Copy link
Collaborator Author

burmanm commented Oct 26, 2023

Right.. weirdly my flake8 reports 203 errors, so I did miss that one.

@sonarcloud
Copy link

sonarcloud bot commented Oct 26, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.7% 0.7% Duplication

@adejanovski adejanovski merged commit 01a49de into thelastpickle:master Oct 26, 2023
30 of 31 checks passed
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.

Add the ability to configure gRPC max send / recv sizes
2 participants