]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
Rx: Change minimum peer timeout to 2ms
authorJeffrey Altman <jaltman@your-file-system.com>
Mon, 20 Sep 2010 12:07:08 +0000 (05:07 -0700)
committerDerrick Brashear <shadow@dementia.org>
Tue, 21 Sep 2010 05:16:56 +0000 (22:16 -0700)
The previous value, 350ms, is historical.  Now that networks are
so much faster, an artificially high timeout value when backed off
results in an extremely long delay before communication can resume.

Change-Id: I6207fb3e5c26a36704abc1f9210af53e0ff1fae6
Reviewed-on: http://gerrit.openafs.org/2815
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/rx/rx_globals.h

index 6afc508a427e7c2d1103b544ae5986628172f21c..73627477da5d8c25fc3b13171a5980c69c4ad37d 100644 (file)
@@ -124,7 +124,7 @@ EXT int rx_BusyError GLOBALSINIT(-1);
 #define RX_FAST_ACK_RATE 1     /* as of 3.4, ask for an ack every
                                 * other packet. */
 
-EXT int rx_minPeerTimeout GLOBALSINIT(350); /* in milliseconds */
+EXT int rx_minPeerTimeout GLOBALSINIT(2); /* in milliseconds */
 EXT int rx_minWindow GLOBALSINIT(1);
 EXT int rx_maxWindow GLOBALSINIT(65535);        /* twind is u_short */
 EXT int rx_initReceiveWindow GLOBALSINIT(16);  /* how much to accept */