2006-06-13 jrandom
* Use a minimum uptime of 2 hours, not 4 (oops)
This commit is contained in:
@ -1,4 +1,7 @@
|
||||
$Id: history.txt,v 1.486 2006-06-11 14:48:41 jrandom Exp $
|
||||
$Id: history.txt,v 1.487 2006-06-13 04:38:48 jrandom Exp $
|
||||
|
||||
2006-06-13 jrandom
|
||||
* Use a minimum uptime of 2 hours, not 4 (oops)
|
||||
|
||||
2006-06-13 jrandom
|
||||
* Cut down the proactive rejections due to queue size - if we are
|
||||
|
@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
|
||||
*
|
||||
*/
|
||||
public class RouterVersion {
|
||||
public final static String ID = "$Revision: 1.426 $ $Date: 2006-06-11 14:48:37 $";
|
||||
public final static String ID = "$Revision: 1.427 $ $Date: 2006-06-13 04:38:51 $";
|
||||
public final static String VERSION = "0.6.1.20";
|
||||
public final static long BUILD = 6;
|
||||
public final static long BUILD = 7;
|
||||
public static void main(String args[]) {
|
||||
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
|
||||
System.out.println("Router ID: " + RouterVersion.ID);
|
||||
|
@ -227,8 +227,8 @@ abstract class TunnelPeerSelector {
|
||||
peers.add(peer.getIdentity().calculateHash());
|
||||
continue;
|
||||
} else {
|
||||
if (infoAge + uptimeMs < 4*60*60*1000) {
|
||||
// up for less than 4 hours, so exclude it
|
||||
if (infoAge + uptimeMs < 2*60*60*1000) {
|
||||
// up for less than 2 hours, so exclude it
|
||||
peers.add(peer.getIdentity().calculateHash());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user