jaraco / irc

Full-featured Python IRC library for Python.
MIT License
390 stars 84 forks source link

High CPU usage in irc.server. #193

Open jheddings opened 2 years ago

jheddings commented 2 years ago

The select() call returns immediately almost always, since the sockets are usually ready_to_read. This effectively creates a tight loop and very high CPU usage for any active connection.

jaraco commented 2 years ago

I'd be happy to review improvements to address the reported concern.