From ed29320d2ec45b5572989fe7334cb8286948a0f3 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 19 May 2005 21:20:08 +0000 Subject: [PATCH] changed default heartbeat_period to 120 seconds so that usually two packets come in before the 5 minute timeout, this should help with packet loss git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5315 d7cf8633-e32d-0410-b094-e92efae38249 --- netconn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netconn.c b/netconn.c index 767e9da9..054a5fb3 100755 --- a/netconn.c +++ b/netconn.c @@ -26,7 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #define MASTER_PORT 27950 cvar_t sv_public = {0, "sv_public", "1"}; -static cvar_t sv_heartbeatperiod = {CVAR_SAVE, "sv_heartbeatperiod", "180"}; +static cvar_t sv_heartbeatperiod = {CVAR_SAVE, "sv_heartbeatperiod", "120"}; // FIXME: resolve DNS on masters whenever their value changes and cache it (to avoid major delays in active servers when they heartbeat) static cvar_t sv_masters [] = -- 2.39.2