Skip to content

NAS-145435 / 27.1.0 / Make client keep-alive interval configurable and use sane defaults - #116

Merged
yocalebo merged 1 commit into
stable/27from
configurable-keepalive
Nov 30, 2026
Merged

yocalebo merged 1 commit into
stable/27from
configurable-keepalive

Conversation

@themylogin

Copy link
Copy Markdown
Contributor

The default TCP keep-alive settings are meant for detecting stale HA connections quickly, so they're too harsh for everything else. Random ClientException('WebSocket connection closed with code=None, reason=None', 103) happen in IO-heavy tests on our CI from time to time.

Let's make these settings configurable. Specify the harsh settings in HA client and use more relaxed defaults for everything else.

@themylogin

Copy link
Copy Markdown
Contributor Author

time 0:30

@bugclerk bugclerk changed the title Make client keep-alive interval configurable and use sane defaults NAS-145435 / 27.1.0 / Make client keep-alive interval configurable and use sane defaults Nov 25, 2026
@bugclerk

Copy link
Copy Markdown

@yocalebo
yocalebo merged commit 5f84f1a into stable/27 Nov 30, 2026
3 checks passed
@yocalebo
yocalebo deleted the configurable-keepalive branch November 30, 2026 13:19
@bugclerk

Copy link
Copy Markdown

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Nov 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants