-
Notifications
You must be signed in to change notification settings - Fork 77
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 exec hang when tx channel is full #316
base: main
Are you sure you want to change the base?
Conversation
Could you pls rebase against latest main to fix the CI ? |
done |
Trying to understand this change. Can you elaborate how exactly this fixes the issue? You spawn an extra thread on each iteration and each new thread still writes to the channel. There are no consumers on this side, right? So why does this help? |
I add some log find that containers.lock() can't get lock when chan is full.(and I add some log I can't get who hold the lock),
main.go
and limit work_threads to 2 make it easier to reproduce
|
ping @mxpv @Burning1020 |
@Burning1020 @mxpv another way to fix #270, this pr don't need to use unbounded_channel
can you review this pr ? Thank you.