Closed Wyzix33 closed 1 year ago
Never tried on WSL before. I will setup a dual boot here and try it, Thanks for reporting, this type of feedback is essential!
WSL on Windows 10 22H2, forgot to mention
@Wyzix33 WSL or WSL2?
PS C:\Users\G> wsl -l -v
NAME STATE VERSION
* Ubuntu-22.04 Running 2
Also there is the same problem on colab
This is actually an event loop issue, will be solved in next release, basically we just need to call less the event loop when idle, the CPU at 100% is because is calling the event loop even when is not really needed (idle) This will not hurt performance when requests comes.
fixed on v0.0.19
Describe the bug On a fresh Ubuntu 22.04 installed as a Windows Subsystem for Linux (WSL) i'm seeing
for as long as the server is running
To Reproduce create a server.py file containing
Expected behavior Normal CPU usage
Screenshots
Desktop (please complete the following information):
Additional context Python 3.10.6 socketify.py v0.0.17
PS on a normal installation of Ubuntu 22.04 it's OK