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

fix: ensure connection count is correctly reported #824

Merged
merged 1 commit into from
Jun 5, 2024
Merged

Conversation

enocom
Copy link
Member

@enocom enocom commented Jun 5, 2024

A recent refactor broke the open connections metric and caused all counts to be reported as either 1 or 0. This commit updates the test to protect against making the same mistake and fixes the original problem (using value semanatics and not pointer semantics).

A recent refactor broke the open connections metric and caused all
counts to be reported as either 1 or 0. This commit updates the test to
protect against making the same mistake and fixes the original problem
(using value semanatics and not pointer semantics).
@enocom enocom requested a review from a team as a code owner June 5, 2024 22:00
Copy link
Collaborator

@jackwotherspoon jackwotherspoon left a comment

Choose a reason for hiding this comment

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

LGTM

@enocom enocom merged commit b286049 into main Jun 5, 2024
13 checks passed
@enocom enocom deleted the metrics-fix branch June 5, 2024 22:09
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