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

Parameterize server send channel capacity #14

Merged
merged 1 commit into from
Oct 25, 2018
Merged

Conversation

rouzwawi
Copy link
Owner

This allows a server implementation to specify the channel capacity of channels created for server streaming calls. Defaults to Channel.UNLIMITED.

class GreeterImpl : GreeterGrpcKt.GreeterImplBase(
    sendChannelCapacity = 4
) {
    // server handlers
}

@rouzwawi rouzwawi merged commit 67ac055 into master Oct 25, 2018
@rouzwawi rouzwawi deleted the send-capacity branch October 25, 2018 21:11
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.

1 participant