Spawning Async Tasks resulting in Runtime blocked #6352
Answered
by
Darksonn
manuelgdlvh
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
Darksonn
Feb 16, 2024
Replies: 1 comment 1 reply
-
Are you blocking the thread? That is, are any of your tasks spending a lot of time without reaching an 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. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
manuelgdlvh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.