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 support to customize cluster ping_interval #5029

Merged
merged 1 commit into from Feb 2, 2024

Conversation

wallyqs
Copy link
Member

@wallyqs wallyqs commented Feb 2, 2024

Adds support to customize the ping_interval for routes to be different from ping_interval from clients:

port = 4222
http = 8222

server_name = 'A'

cluster {
  name = 'ABC'
  port = 6222
  routes = [
    nats://localhost:6222
    nats://localhost:6223
    nats://localhost:6224
  ]
  ping_interval = '5s'
  ping_max = 6
}

ping_interval = '30s'

Signed-off-by: Waldemar Quevedo <wally@nats.io>
@wallyqs wallyqs requested a review from a team as a code owner February 2, 2024 04:02
Copy link
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

@derekcollison derekcollison merged commit be32a05 into main Feb 2, 2024
4 checks passed
@derekcollison derekcollison deleted the routes-ping-interval branch February 2, 2024 04:16
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