I'm in a lot of IRC channels with ZNC. My server rarely goes down, but when it does, it will spam the IRC server and get me kicked for excess flood, and then attempt to join again, and so on.
Is there a way to throttle the channel joins, such as one join every 3 seconds, or Join channel -> wait 2 seconds -> join next channel?
Any help would be appreciated. I'm fine with getting my hands in the code too.
-Adys
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I'm in a lot of IRC channels with ZNC. My server rarely goes down, but when it does, it will spam the IRC server and get me kicked for excess flood, and then attempt to join again, and so on.
Is there a way to throttle the channel joins, such as one join every 3 seconds, or Join channel -> wait 2 seconds -> join next channel?
Any help would be appreciated. I'm fine with getting my hands in the code too.
-Adys
Hi,
Take a look at the MaxJoins config option. This is the number of channels ZNC will join at once (it does so every 20 seconds).
Cheers,
psychon