Author: toad
Date: 2007-07-14 20:18:13 +0000 (Sat, 14 Jul 2007)
New Revision: 14121

Modified:
   trunk/freenet/src/freenet/node/OpennetManager.java
Log:
Up limit to 15 refs. Might go up to 30, we'll see; beyond that would be IMHO 
excessive.

Modified: trunk/freenet/src/freenet/node/OpennetManager.java
===================================================================
--- trunk/freenet/src/freenet/node/OpennetManager.java  2007-07-14 19:57:53 UTC 
(rev 14120)
+++ trunk/freenet/src/freenet/node/OpennetManager.java  2007-07-14 20:18:13 UTC 
(rev 14121)
@@ -41,7 +41,7 @@
        private long timeLastDropped;

        // FIXME make this configurable
-       static final int MAX_PEERS = 5;
+       static final int MAX_PEERS = 15;
        /** Chance of resetting path folding (for plausible deniability) is 1 
in this number. */
        static final int RESET_PATH_FOLDING_PROB = 20;
        /** Don't re-add a node until it's been up and disconnected for at 
least this long */


Reply via email to