-
Notifications
You must be signed in to change notification settings - Fork 175
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 memory leak #1644
Fix memory leak #1644
Conversation
@@ -25,6 +25,7 @@ import ( | |||
"github.com/stretchr/testify/assert" | |||
"github.com/stretchr/testify/mock" | |||
"github.com/stretchr/testify/require" | |||
"go.uber.org/goleak" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
slick name. this makes me want to do go.livepeer.org/whatever
for purely cosmetic reasons
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like the idea 😃
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually we totally should, looks like it's as easy as https://github.com/GoogleCloudPlatform/govanityurls
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now we need package to publish 😃
Interesting that we've never noticed this. When would it show up? |
Found it in the logs for #1640 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
What does this pull request do? Explain your changes. (required)
Fixes memory leak caused by unbuffered channels
Specific updates (required)
Added buffers to channels
How did you test each of these updates (required)
unit tests
Does this pull request close any open issues?
Checklist:
./test.sh
pass