IRCNetwork.h: lower ping frequency & timeout

Ref: #979
This commit is contained in:
Mikaela Suomalainen
2015-06-22 08:25:14 +03:00
parent a314d3057e
commit 3aec1c73f2

View File

@@ -50,13 +50,13 @@ public:
enum {
JOIN_FREQUENCY = 30,
/** How long must an IRC connection be idle before ZNC sends a ping */
PING_FREQUENCY = 270,
PING_FREQUENCY = 120,
/** Time between checks if PINGs need to be sent */
PING_SLACK = 30,
/** Timeout after which IRC connections are closed. Must
* obviously be greater than PING_FREQUENCY + PING_SLACK.
*/
NO_TRAFFIC_TIMEOUT = 540
NO_TRAFFIC_TIMEOUT = 180
};
void Clone(const CIRCNetwork& Network, bool bCloneName = true);