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

ConcurrentStream::collect blocking on single threaded tokio #203

Open
Yohe-Am opened this issue Dec 28, 2024 · 0 comments
Open

ConcurrentStream::collect blocking on single threaded tokio #203

Yohe-Am opened this issue Dec 28, 2024 · 0 comments

Comments

@Yohe-Am
Copy link

Yohe-Am commented Dec 28, 2024

Hey, so maybe I'm misusing something somewhere but I was able to debug the hangs of a codebase to an invocation of into_co_stream on a Vec. From what I can see using tokio-console, the task this is running on seems to be awake most of the time but I'm not sure if it's refusing to yield. And yeah, this problem only happens sometimes more commonly when the system is generally resource constrained.

I haven't really done any investigation beyond this but I'm willing to provide code and more. Opening this quickly before I forget.

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

No branches or pull requests

1 participant