Revert "Increase shutdown retries before giving up"

This reverts commit df54a869e9.

This takes too long and the UI is not pretty (since lasts more than 1 s).
This commit is contained in:
Keith Winstein
2012-03-18 03:41:16 -04:00
parent aaeb1ccfbc
commit 3d4ce8b52d
+1 -1
View File
@@ -42,7 +42,7 @@ namespace Network {
static const int SEND_INTERVAL_MAX = 250; /* ms between frames */ static const int SEND_INTERVAL_MAX = 250; /* ms between frames */
static const int ACK_INTERVAL = 3000; /* ms between empty acks */ static const int ACK_INTERVAL = 3000; /* ms between empty acks */
static const int ACK_DELAY = 100; /* ms before delayed ack */ 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 */ static const int ACTIVE_RETRY_TIMEOUT = 10000; /* attempt to resend at frame rate */
/* helper methods for tick() */ /* helper methods for tick() */