From 0558e893a0d1ab1c92dbd796ade0bd71af50bc0f Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Thu, 13 Oct 2011 05:19:57 -0400 Subject: [PATCH] Increase heartbeat interval to 3 seconds --- transportsender.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/transportsender.hpp b/transportsender.hpp index 6850a55..5d850e9 100644 --- a/transportsender.hpp +++ b/transportsender.hpp @@ -21,7 +21,7 @@ namespace Network { /* timing parameters */ static const int SEND_INTERVAL_MIN = 20; /* ms between frames */ static const int SEND_INTERVAL_MAX = 250; /* ms between frames */ - static const int ACK_INTERVAL = 1000; /* ms between empty acks */ + static const int ACK_INTERVAL = 3000; /* ms between empty acks */ static const int ACK_DELAY = 10; /* ms before delayed ack */ static const int SEND_MINDELAY = 20; /* ms to collect all input */ static const int SHUTDOWN_RETRIES = 3; /* number of shutdown packets to send before giving up */