Skip to content

Add write_deadline to cluster, leafnode and gateway config#7405

Merged
neilalexander merged 1 commit intomainfrom
neil/routewdl
Oct 8, 2025
Merged

Add write_deadline to cluster, leafnode and gateway config#7405
neilalexander merged 1 commit intomainfrom
neil/routewdl

Conversation

@neilalexander
Copy link
Copy Markdown
Member

@neilalexander neilalexander commented Oct 8, 2025

This PR allows configuring the write_deadline in the cluster {} block for route connections.

Signed-off-by: Neil Twigg neil@nats.io

Copy link
Copy Markdown
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM - as long as we fallback to 10s for routes if not set.

@neilalexander neilalexander force-pushed the neil/routewdl branch 2 times, most recently from 1e352c9 to 7beb197 Compare October 8, 2025 15:36
@derekcollison
Copy link
Copy Markdown
Member

Resolved with @neilalexander offline with fallbacks..

@neilalexander neilalexander marked this pull request as ready for review October 8, 2025 15:46
@neilalexander neilalexander requested a review from a team as a code owner October 8, 2025 15:46
Copy link
Copy Markdown
Member

@MauriceVanVeen MauriceVanVeen left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Copy Markdown
Member

@wallyqs wallyqs left a comment

Choose a reason for hiding this comment

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

LGTM, some follow ups are showing up the write_deadline setting in /varz making changes on monitor.go and whether to make it reloadable like the top level write_deadline

@neilalexander neilalexander changed the title Add write_deadline to cluster config Add write_deadline to cluster, leafnode and gateway config Oct 8, 2025
@neilalexander
Copy link
Copy Markdown
Member Author

I've done the gateway & leafnode side too, and added an extra parsing test just to be sure.

Copy link
Copy Markdown
Member

@derekcollison derekcollison left a comment

Choose a reason for hiding this comment

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

LGTM

Signed-off-by: Neil Twigg <neil@nats.io>
@neilalexander neilalexander merged commit 425cf16 into main Oct 8, 2025
88 of 92 checks passed
@neilalexander neilalexander deleted the neil/routewdl branch October 8, 2025 17:08
neilalexander added a commit that referenced this pull request Oct 10, 2025
Includes the following:

- #7400
- #7399
- #7401
- #7402
- #7404
- #7405
- #7409
- #7413

Signed-off-by: Neil Twigg <neil@nats.io>
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.

4 participants