Raku / whateverable

🤖 Different IRC bots that operate on a bunch of prebuilt Rakudo versions
https://gist.github.com/Whateverable
GNU Affero General Public License v3.0
18 stars 14 forks source link

Make sure total timeout is less than ping timeout or parallelize bots #27

Open MasterDuke17 opened 8 years ago

MasterDuke17 commented 8 years ago

According to http://irclog.perlgeek.de/perl6/2016-08-30#i_13119980, if a bot is working for more than ~250 seconds it could get disconnected from a channel. We need to make sure that bots will stop any work before they hit the ping timeout, or parallelize them so they can respond to pings while still doing real work.

AlexDaniel commented 8 years ago

So which bots are affected currently?

AlexDaniel commented 6 years ago

Also, another option is to return a Promise from irc-to-me, this way they won't ping out (but still a user should not have to wait for that long…).