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

Add keep alive to gRPC connection #370

Merged
merged 2 commits into from Feb 25, 2021
Merged

Conversation

vitarb
Copy link
Contributor

@vitarb vitarb commented Feb 24, 2021

Previously workers were getting "stuck" after we upgraded our test cluster.
This could happen if server side dies and doesn't close connection gracefully resulting in client-side connection hanging until TCP times out in 10+ minutes.
This change introduces [keep alive] check into our client, which should help detect orphaned connections faster.

Copy link
Member

@Sushisource Sushisource left a comment

Choose a reason for hiding this comment

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

Small lang nit

internal/grpc_dialer.go Show resolved Hide resolved
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