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: Only automatically retry picks on known error #1286

Merged

Conversation

murgatroid99
Copy link
Member

The automatic retry code was originally added to handle the "New streams cannot be created after receiving a GOAWAY" error. To avoid another retry loop (googleapis/nodejs-pubsub#890), we should only retry on errors that are related to the http2 session's connectivity state, and so far, that is the only known error like that.

That error code string comes from nodejs/help#2105 (comment).

@murgatroid99 murgatroid99 merged commit 2c40be8 into grpc:master Mar 4, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Jun 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants