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

ExecutionContext for bindService and for ServerBuilder #21

Open
waagnermann opened this issue Oct 5, 2023 · 0 comments
Open

ExecutionContext for bindService and for ServerBuilder #21

waagnermann opened this issue Oct 5, 2023 · 0 comments

Comments

@waagnermann
Copy link

Hello!
In this line you pass executionContext only to GreeterGrpc.bindService but not to ServerBuilder which is possible by calling .executor(..) on ServerBuilder.forPort(HelloWorldServer.port) (source).

You did that for a reason or it was just for the sake of example? What is the best practise here: these two thread pools rather be the same or separate?

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

1 participant