Author: toad
Date: 2008-01-28 13:20:40 +0000 (Mon, 28 Jan 2008)
New Revision: 17350

Modified:
   trunk/freenet/src/freenet/io/xfer/BlockReceiver.java
Log:
Increase block receive timeout to 60 seconds. IIRC the effective timeout on the 
transmitter is 60 seconds.

Modified: trunk/freenet/src/freenet/io/xfer/BlockReceiver.java
===================================================================
--- trunk/freenet/src/freenet/io/xfer/BlockReceiver.java        2008-01-28 
13:19:59 UTC (rev 17349)
+++ trunk/freenet/src/freenet/io/xfer/BlockReceiver.java        2008-01-28 
13:20:40 UTC (rev 17350)
@@ -40,7 +40,7 @@
  */
 public class BlockReceiver implements AsyncMessageFilterCallback {

-       public static final int RECEIPT_TIMEOUT = 30000;
+       public static final int RECEIPT_TIMEOUT = 60000;
        // TODO: This should be proportional to the calculated round-trip-time, 
not a constant
        public static final int MAX_ROUND_TRIP_TIME = RECEIPT_TIMEOUT;
        public static final int MAX_CONSECUTIVE_MISSING_PACKET_REPORTS = 4;


Reply via email to