Skip to content

Create a new thread pool for each streaming method of gRPC channel #398

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

Merged
merged 1 commit into from
Oct 22, 2021

Conversation

atruebin
Copy link

@atruebin atruebin commented Oct 22, 2021

Create one separate thread pool (with 1 thread) for each streaming method.

It fixes issue of limited number of threads processing incoming streams. This problem led to situation, when subscriptions, waiting for stream response, did not let other subscriptions receive responses, that were already send by server.

Resolves #380

Copy link
Collaborator

@JonasVautherin JonasVautherin left a comment

Choose a reason for hiding this comment

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

Thanks a lot!

@JonasVautherin JonasVautherin merged commit 73118a5 into mavlink:main Oct 22, 2021
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.

Telemetry getting stuck when there is many same subscriptions
2 participants