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

[IMPROVED] Optimize statsz locking and sending in standalone mode. #4235

Merged
merged 1 commit into from Jun 11, 2023

Conversation

derekcollison
Copy link
Member

@derekcollison derekcollison commented Jun 11, 2023

If we know we are in stand alone mode only send out statsz updates if we know we have external interest.

Signed-off-by: Derek Collison derek@nats.io

Resolves: #4234

…erest.

Signed-off-by: Derek Collison <derek@nats.io>
@derekcollison derekcollison requested a review from a team as a code owner June 11, 2023 03:37
Copy link
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

@derekcollison derekcollison merged commit 860c481 into main Jun 11, 2023
2 checks passed
@derekcollison derekcollison deleted the discussion-4227-2 branch June 11, 2023 03:55
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.

How to config a single nats-server with jetstream in most resource-effective way
2 participants