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 stream timeouts #228

Merged
merged 2 commits into from
Apr 16, 2024
Merged

Fix stream timeouts #228

merged 2 commits into from
Apr 16, 2024

Conversation

nplasterer
Copy link
Contributor

@nplasterer nplasterer commented Apr 16, 2024

Make sure that streams don't disconnect after 2 minutes, 5 minutes, and 10 minutes. Also confirmed that the poor network tests still work.

Was seeing io.grpc.okhttp.OkHttpClientTransport$ClientFrameHandler@8913bec: Received GOAWAY with ENHANCE_YOUR_CALM. Debug data: too_many_pings but no longer with 3 minute for timeout.

@nplasterer nplasterer self-assigned this Apr 16, 2024
@nplasterer nplasterer marked this pull request as ready for review April 16, 2024 19:22
@nplasterer nplasterer requested a review from a team as a code owner April 16, 2024 19:22
@@ -95,7 +95,6 @@ data class GRPCApiClient(
"backoffMultiplier" to 2.0,
"retryableStatusCodes" to listOf(
"UNAVAILABLE",
"CANCELLED",
Copy link
Contributor Author

Choose a reason for hiding this comment

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

O don't think we should retry if it's canceled. That's likely an action taken on purpose.

@nplasterer nplasterer merged commit 78893b8 into main Apr 16, 2024
5 of 6 checks passed
@nplasterer nplasterer deleted the np/fix-streaming-disconnects branch April 16, 2024 19:36
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