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 leaking goroutines in filegen client #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix leaking goroutines in filegen client #67

wants to merge 1 commit into from

Conversation

michaeljs1990
Copy link

@michaeljs1990 michaeljs1990 commented Apr 29, 2020

I noticed that filegen/client/num-object-waiters was ever increasing when looking into some other issues around some slowness in some of our generated files. This turned out to be a non issue but adding this in will make sure the goroutine terminates when all the files have been returned instead of waiting for the next message to be sent on the channel which will never come.

@michaeljs1990 michaeljs1990 changed the title Fix leaking goroutines Fix leaking goroutines in filegen client Apr 29, 2020
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.

1 participant