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 goroutines leak in filter #562

Merged
merged 2 commits into from Jul 27, 2020
Merged

Conversation

litleleprikon
Copy link
Contributor

PR Summary

Add sending value to channel which is needed to close coroutines after TCP connection is closed.

Closes/Relates #560

litleleprikon added 2 commits July 23, 2020 14:50
In filter on each new TCP connection new goroutine is created. When TCP
connection was closed this goroutines was not closed as well. This
commit changes this behavior.

Relates #560
@litleleprikon litleleprikon requested a review from a team as a code owner July 23, 2020 11:58
@litleleprikon litleleprikon self-assigned this Jul 23, 2020
@litleleprikon litleleprikon added this to Review in 2.6 via automation Jul 23, 2020
@litleleprikon litleleprikon linked an issue Jul 23, 2020 that may be closed by this pull request
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.009%) to 80.928% when pulling 03c0a83 on feature/560-fix-goroutines-leak into e6d10e9 on master.

@litleleprikon litleleprikon merged commit 4ef4616 into master Jul 27, 2020
2.6 automation moved this from Review to Done Jul 27, 2020
@litleleprikon litleleprikon deleted the feature/560-fix-goroutines-leak branch July 27, 2020 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2.6
  
Done
Development

Successfully merging this pull request may close these issues.

Memory leak in moira-filter service
3 participants