Author: toad
Date: 2008-04-08 15:36:09 +0000 (Tue, 08 Apr 2008)
New Revision: 19079
Modified:
trunk/freenet/src/freenet/node/OpennetManager.java
Log:
Change from 300*1000 to 5*60*1000 (which is the same).
Modified: trunk/freenet/src/freenet/node/OpennetManager.java
===================================================================
--- trunk/freenet/src/freenet/node/OpennetManager.java 2008-04-08 15:30:20 UTC
(rev 19078)
+++ trunk/freenet/src/freenet/node/OpennetManager.java 2008-04-08 15:36:09 UTC
(rev 19079)
@@ -75,7 +75,7 @@
/** Don't drop a node until this long after startup */
static final int DROP_STARTUP_DELAY = 120*1000;
/** Don't drop a node until this long after losing connection to it */
- static final int DROP_DISCONNECT_DELAY = 300*1000;
+ static final int DROP_DISCONNECT_DELAY = 5*60*1000;
/** But if it has disconnected more than once in this period, allow it
to be dropped anyway */
static final int DROP_DISCONNECT_DELAY_COOLDOWN = 60*60*1000;
/** Every DROP_CONNECTED_TIME, we may drop a peer even though it is
connected */