Author: toad
Date: 2008-07-19 14:05:11 +0000 (Sat, 19 Jul 2008)
New Revision: 21243

Modified:
   trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
Log:
Reduce MIN_DELAY to 1ms. This will allow for up to 1MB/sec to a given peer if 
bandwidth permits.

Modified: trunk/freenet/src/freenet/io/xfer/PacketThrottle.java
===================================================================
--- trunk/freenet/src/freenet/io/xfer/PacketThrottle.java       2008-07-19 
13:51:40 UTC (rev 21242)
+++ trunk/freenet/src/freenet/io/xfer/PacketThrottle.java       2008-07-19 
14:05:11 UTC (rev 21243)
@@ -35,7 +35,7 @@
        protected static final double PACKET_TRANSMIT_INCREMENT = (4 * (1 - 
(PACKET_DROP_DECREASE_MULTIPLE * PACKET_DROP_DECREASE_MULTIPLE))) / 3;
        protected static final double SLOW_START_DIVISOR = 3.0;
        protected static final long MAX_DELAY = 1000;
-       protected static final long MIN_DELAY = 25;
+       protected static final long MIN_DELAY = 1;
        public static final String VERSION = "$Id: PacketThrottle.java,v 1.3 
2005/08/25 17:28:19 amphibian Exp $";
        public static final long DEFAULT_DELAY = 200;
        private final Peer _peer;


Reply via email to