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 max_send_message_length and max_receive_message_length in server options Configuration #195

Open
hexbabe opened this issue Jun 26, 2024 · 1 comment

Comments

@hexbabe
Copy link

hexbabe commented Jun 26, 2024

Hi! It would unblock me if you could add max_send_message_length and max_receive_message_length in the server Configuration options. Thank you so much

server = grpc.server(futures.ThreadPoolExecutor(max_workers=10), options=[
    ('grpc.max_send_message_length', 1 << 25),                  # 32 MB max send message size
    ('grpc.max_receive_message_length', 1 << 25),               # 32 MB max receive message size
]) 

# I want to be able to do the equivalent of this
@vmagamedov
Copy link
Owner

Hey, unfortunately this is not a simple task and currently I don't have bandwidth to implement new features.

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

No branches or pull requests

2 participants