From 3aec1c73f293954591a963bdbf3ebaea3ec08054 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Mon, 22 Jun 2015 08:25:14 +0300 Subject: [PATCH] IRCNetwork.h: lower ping frequency & timeout Ref: #979 --- include/znc/IRCNetwork.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/znc/IRCNetwork.h b/include/znc/IRCNetwork.h index 769b89d2..77ddec1c 100644 --- a/include/znc/IRCNetwork.h +++ b/include/znc/IRCNetwork.h @@ -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);