Skip to content

Fix healthcheck interceptors #6257

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

Merged
merged 1 commit into from
Oct 10, 2024
Merged

Conversation

alanprot
Copy link
Member

What this PR does:

Fix connection leak on the health check. See #6225

This happened when the healthcheck interval was > than 1 second. In this case we were opening the connections and not closing it.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@alanprot alanprot marked this pull request as ready for review October 10, 2024 00:23
@dosubot dosubot bot added go Pull requests that update Go code type/bug labels Oct 10, 2024
@alanprot alanprot merged commit 76cd0ba into cortexproject:master Oct 10, 2024
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code size/M type/bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant