Author: toad
Date: 2008-04-29 13:10:36 +0000 (Tue, 29 Apr 2008)
New Revision: 19609

Modified:
   trunk/freenet/src/freenet/node/OpennetManager.java
Log:
Turn on one-peer-per-kB/sec between 10 and 20 peers.

Modified: trunk/freenet/src/freenet/node/OpennetManager.java
===================================================================
--- trunk/freenet/src/freenet/node/OpennetManager.java  2008-04-29 03:14:16 UTC 
(rev 19608)
+++ trunk/freenet/src/freenet/node/OpennetManager.java  2008-04-29 13:10:36 UTC 
(rev 19609)
@@ -93,7 +93,7 @@
        static final int MAX_OPENNET_NODEREF_LENGTH = 32768;

        /** Enable scaling of peers with bandwidth? */
-       static final boolean ENABLE_PEERS_PER_KB_OUTPUT = false;
+       static final boolean ENABLE_PEERS_PER_KB_OUTPUT = true;
        /** Target bandwidth usage - above this, we use MAX_PEERS_FOR_SCALING */
        static final int TARGET_BANDWIDTH_USAGE = 20*1024; // 20 peers at 
20K/sec.
        /** Minimum number of peers */


Reply via email to