Author: toad
Date: 2007-09-25 20:48:03 +0000 (Tue, 25 Sep 2007)
New Revision: 15309
Modified:
trunk/freenet/src/freenet/node/OpennetManager.java
Log:
Increase max opennet peers to 20
Modified: trunk/freenet/src/freenet/node/OpennetManager.java
===================================================================
--- trunk/freenet/src/freenet/node/OpennetManager.java 2007-09-25 19:51:49 UTC
(rev 15308)
+++ trunk/freenet/src/freenet/node/OpennetManager.java 2007-09-25 20:48:03 UTC
(rev 15309)
@@ -52,7 +52,7 @@
// FIXME should be a function of # opennet peers? max # opennet peers?
...
static final int MIN_SUCCESS_BETWEEN_DROP_CONNS = 10;
// FIXME make this configurable
- static final int MAX_PEERS = 15;
+ static final int MAX_PEERS = 20;
/** 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 */