I have tried to add more than 18 channels in IRC on freenode, then the connection cannot get through. IRC keeps "reconnecting". But if the channel number is 18 or less, connection can be established. After trying many times, I found the problem is join is called too fast. After adding a latency between each join, no error happens since then.
The reason I do not use Throttle or set_rate_limit from irc package, that one has some bug and the reference of irc connection is not passed probably. I can update the throttle method after I fix this bug.
I have tried to add more than 18 channels in IRC on freenode, then the connection cannot get through. IRC keeps "reconnecting". But if the channel number is 18 or less, connection can be established. After trying many times, I found the problem is
join
is called too fast. After adding a latency between eachjoin
, no error happens since then.The reason I do not use
Throttle
orset_rate_limit
from irc package, that one has some bug and the reference of irc connection is not passed probably. I can update the throttle method after I fix this bug.