Skip to content

Spawning Async Tasks resulting in Runtime blocked #6352

Answered by Darksonn
manuelgdlvh asked this question in Q&A
Discussion options

You must be logged in to vote

Are you blocking the thread? That is, are any of your tasks spending a lot of time without reaching an .await?

To check this, you can use tokio-console. Blocking tasks show up as a busy duration that keeps going up, but the poll count does not change.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@manuelgdlvh
Comment options

Answer selected by manuelgdlvh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants