From 3d4ce8b52d61d6c1be1def7df1bc69721b300b51 Mon Sep 17 00:00:00 2001 From: Keith Winstein Date: Sun, 18 Mar 2012 03:41:16 -0400 Subject: [PATCH] Revert "Increase shutdown retries before giving up" This reverts commit df54a869e924f1839b41f7e507f1c47e47088f93. This takes too long and the UI is not pretty (since lasts more than 1 s). --- src/network/transportsender.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/transportsender.h b/src/network/transportsender.h index 431bef1..e49e036 100644 --- a/src/network/transportsender.h +++ b/src/network/transportsender.h @@ -42,7 +42,7 @@ namespace Network { static const int SEND_INTERVAL_MAX = 250; /* ms between frames */ static const int ACK_INTERVAL = 3000; /* ms between empty acks */ static const int ACK_DELAY = 100; /* ms before delayed ack */ - static const int SHUTDOWN_RETRIES = 10; /* number of shutdown packets to send before giving up */ + static const int SHUTDOWN_RETRIES = 3; /* number of shutdown packets to send before giving up */ static const int ACTIVE_RETRY_TIMEOUT = 10000; /* attempt to resend at frame rate */ /* helper methods for tick() */