Busy-loop with suspend() blocks inbound network taffic
Open
bug
server
- Dominant language
- JavaScript
- Stars
- 198
- Forks
- 38
- PR merge metrics
- No merged PRs in 30d
Description
Because `Interpreter.prototype.run` doesn't yield the event loop so long as there is a thread ready to run, (it is almost certainly the case that) network event handers will never get the chance to run so long as there is a long-running computation task running, even if it regularly calls `suspend`.
Contributor guide
Assessment
This issue has not been assessed yet.