From: havoc Date: Thu, 19 May 2005 21:20:08 +0000 (+0000) Subject: changed default heartbeat_period to 120 seconds so that usually two packets come... X-Git-Tag: xonotic-v0.1.0preview~4866 X-Git-Url: https://de.git.xonotic.org/?a=commitdiff_plain;h=ed29320d2ec45b5572989fe7334cb8286948a0f3;p=xonotic%2Fdarkplaces.git 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 --- 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 [] =