Closed
Description
What crate(s) in this repo are involved in the problem?
tokio-console, console-subscriber
What is the issue?
I've observed that tokio-console
reports excessive polling, to the tune of around 1000 polls per second, for a simple spawned task that is not being woken.
This is the task spawning
and the task itself
I've observed the task being polled over 1M times over a 24 minute period without having been woken.
How can the bug be reproduced?
I've documented the details and made a small reproducible example in webrtc-rs/webrtc#284
In that PR I've added a printing wrapper around the futures in question as well as introduced more logging. On my machine the excessive polling that tokio-console reports does not line up with the amount of times the futures are actually polled.
Logs, error output, etc
No response
Versions
├── console-subscriber v0.1.7
│ ├── console-api v0.4.0
Possible solution
No response
Additional context
No response
Would you like to work on fixing this bug?
maybe