2006-03-18 jrandom

* Made the netDb search load limitations a little less stringent
    * Add support for specifying the number of periods to be plotted on the
      graphs - e.g. to plot only the last hour of a stat that is averaged at
      the 60 second period, add &periodCount=60
This commit is contained in:
jrandom
2006-03-18 23:09:35 +00:00
committed by zzz
parent b03ff21d3b
commit f3849a22ad
7 changed files with 84 additions and 21 deletions

View File

@ -15,9 +15,9 @@ import net.i2p.CoreVersion;
*
*/
public class RouterVersion {
public final static String ID = "$Revision: 1.373 $ $Date: 2006/03/16 16:45:26 $";
public final static String ID = "$Revision: 1.374 $ $Date: 2006/03/17 18:46:02 $";
public final static String VERSION = "0.6.1.12";
public final static long BUILD = 11;
public final static long BUILD = 12;
public static void main(String args[]) {
System.out.println("I2P Router version: " + VERSION + "-" + BUILD);
System.out.println("Router ID: " + RouterVersion.ID);

View File

@ -335,7 +335,7 @@ public class OutboundClientMessageOneShotJob extends JobImpl {
if (wantACK)
_inTunnel = selectInboundTunnel();
boolean ok = buildClove();
boolean ok = (_clientMessage != null) && buildClove();
if (!ok) {
dieFatal();
return;

View File

@ -133,7 +133,7 @@ class SearchJob extends JobImpl {
public long getExpiration() { return _expiration; }
public long getTimeoutMs() { return _timeoutMs; }
private static final int PER_FLOODFILL_PEER_TIMEOUT = 30*1000;
private static final int PER_FLOODFILL_PEER_TIMEOUT = 10*1000;
protected int getPerPeerTimeoutMs(Hash peer) {
int timeout = 0;
@ -174,7 +174,7 @@ class SearchJob extends JobImpl {
*/
}
private static int MAX_PEERS_QUERIED = 20;
private static int MAX_PEERS_QUERIED = 40;
/**
* Send the next search, or stop if its completed