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

grpc-js: End calls when keepalive pings time out #2097

Conversation

murgatroid99
Copy link
Member

We assume that when a keepalive ping times out, that means that the connection is gone. So we should also not expect that any existing calls will make progress, so we should just end them instead of waiting for their deadlines to expire, if they even have one. This change matches the behavior of other languages like Java: https://github.com/grpc/grpc-java/blob/d4fa0ecc07495097453b0a2848765f076b9e714c/core/src/main/java/io/grpc/internal/KeepAliveManager.java#L287-L289.

@murgatroid99 murgatroid99 merged commit fa92727 into grpc:@grpc/grpc-js@1.6.x Apr 18, 2022
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.

None yet

2 participants