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

Always use the same event loop for a client connection #562

Merged
merged 2 commits into from
Aug 23, 2019

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Aug 22, 2019

Motivation:

It might be useful for other applications interacting with gRPC to know
that a client connection will always use the same event loop, event if
it reconnects.

Modifications:

Use the same event loop when attempting reconnections.

Result:

A connection will only ever use one event loop.

@glbrntt glbrntt requested a review from MrMage August 22, 2019 15:06
Motivation:

It might be useful for other applications interacting with gRPC to know
that a client connection will always use the same event loop, event if
it reconnects.

Modifications:

Use the same event loop when attempting reconnections.

Result:

A connection will only ever use one event loop.
@glbrntt glbrntt force-pushed the same-event-loop-group branch from a110c85 to d940402 Compare August 22, 2019 15:27
@MrMage MrMage merged commit 47e531d into grpc:nio Aug 23, 2019
@glbrntt glbrntt deleted the same-event-loop-group branch August 5, 2020 09:06
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.

2 participants