myano / jenni

jenni was a python IRC bot. Project is closed. Try Sopel instead, https://sopel.chat/
https://sopel.chat/
Other
235 stars 101 forks source link

Optmize nws.py #90

Open myano opened 11 years ago

myano commented 11 years ago

Optimize code for nws.py (wxbot) so that it can process each state as its own thread. This will make updates reported to the necessary channels much faster.

myano commented 9 years ago

Interesting note, on another network, I had a fork of wxbot running that would dump all alerts into one channel rather than the 50-something channels and for the state of Ohio it would be about 2 to 5 minutes faster than wxbot on freenode. I'm guessing the logic for sending to different channels might be a bottleneck for the text throttle.