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

enable TCP keep-alive on inbound connections #57

Merged
merged 1 commit into from
Aug 28, 2023
Merged

Conversation

ekoby
Copy link
Member

@ekoby ekoby commented Aug 28, 2023

this will help with cleaning up stale terminators when SDK endpoints lose connections (in some cases)

this will help with cleaning up stale terminators when SDK endpoints lose connections (in some cases)
@ekoby ekoby requested a review from a team as a code owner August 28, 2023 18:06
@@ -31,6 +31,11 @@ import (
"time"
)

const (
// same as golang Dial default
keepAlive = 15 * time.Second
Copy link
Member

Choose a reason for hiding this comment

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

Is this something that we will want to configure?

Copy link
Member Author

Choose a reason for hiding this comment

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

I doubt it since we hadn't so far. And also downstream handlers can override these settings if they prefer

@ekoby ekoby merged commit 1ea82dd into main Aug 28, 2023
18 checks passed
@ekoby ekoby deleted the enable-tcp-keepalive branch August 28, 2023 18:15
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.

3 participants