Skip to content

Propagate keep alive settings from the config#451

Merged
9seconds merged 1 commit into
masterfrom
keepalive-config
Apr 7, 2026
Merged

Propagate keep alive settings from the config#451
9seconds merged 1 commit into
masterfrom
keepalive-config

Conversation

@9seconds
Copy link
Copy Markdown
Owner

@9seconds 9seconds commented Apr 7, 2026

This PR compliments #441 propagating TCP keep alive to configuration settings.

# this defines a configuration for TCP keep alives. Default values are taken
# from Golang default behavior.
[network.keep-alive]
disabled = false
# idle means a time period after which we start sending TCP Keep Alive probes
idle = "15s"
# interval is a period between 2 consecutive probes
interval = "15s"
# if we miss that many probes, a connection will be considered as a dead one.
count = 9

Very straightforward.

@9seconds 9seconds merged commit ac40c94 into master Apr 7, 2026
10 checks passed
@9seconds 9seconds deleted the keepalive-config branch April 7, 2026 11:53
dolonet added a commit to dolonet/mtg-multi that referenced this pull request Apr 7, 2026
… TCP_USER_TIMEOUT, TCP_NOTSENT_LOWAT, sockopts refactor)
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.

1 participant