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

remove connection after close #31

Merged
merged 1 commit into from
Sep 19, 2024
Merged

remove connection after close #31

merged 1 commit into from
Sep 19, 2024

Conversation

kd7lxl
Copy link
Contributor

@kd7lxl kd7lxl commented Sep 19, 2024

chanGroup was preserving references to closed connections, which caused a noticeable memory leak. It was more apparent in cases where there were bursts of many threads and no open connection limit (default) and with drivers that allocate larger buffers per connection.

Copy link

@Calebjh Calebjh left a comment

Choose a reason for hiding this comment

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

Seems like a reasonable change to me

@kd7lxl kd7lxl merged commit 802250a into main Sep 19, 2024
2 checks passed
@kd7lxl kd7lxl deleted the connleak branch September 19, 2024 23:40
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.

2 participants