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 the grpc client channel executor is shutdown #520

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Assassinxc
Copy link
Contributor

@Assassinxc Assassinxc commented Jan 24, 2025

#382
By default, grpc server and client use the same threadpool that is from the SharedResourcePool, ServerImplBuilder's executorPool field and ManagedChannelImplBuilder.build() show that. when dynamictp enhance the grpc serverImpl's threadpool, it shutdown the origin threadpool, so the threadpool(the same one) in ManagedChannelImpl is also shutdown.
image
image

so, before finalize the threadpool, I check that whether the origin threadpool is used in ChannelImpl.

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