Update of /cvsroot/freenet/freenet/src/freenet/node
In directory sc8-pr-cvs1:/tmp/cvs-serv13876/src/freenet/node
Modified Files:
Main.java Node.java
Log Message:
6266:
FORK UNSTABLE NETWORK. Protocol version increases to 1.47. The purpose of this: it is
likely that NGRouting and CPAlgoRT are not really compatible in their present
implementations. Hopefully we can get a decent sized test network together.
Minor changes:
Don't reference old nodes in the RT. Take them out if they are serialized in. Add a
means of checking whether it is old for purposes of routing to or for purposes of
accepting requests from it.
Try to keep the references on the RT up to date.
Detect Opera as well as IE.
Minor fix in TimeEstimator.drawGraphBMP()
Added diagnostic requestDataNotFound.
Fix load %.
Fix CHK for README in dist servlet.
Minor UI tweak to General infolet.
Minor graphical change (add a stretched graph per estimator) to per node pages linked
from Node Reference Status.
Index: Main.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Main.java,v
retrieving revision 1.275
retrieving revision 1.276
diff -u -w -r1.275 -r1.276
--- Main.java 22 Oct 2003 10:45:59 -0000 1.275
+++ Main.java 22 Oct 2003 22:07:14 -0000 1.276
@@ -2066,6 +2066,9 @@
d.registerBinomial("routingSuccessRatio", d.MINUTE,
"Requests that failed or succeeded
by routing, "+
"and the number that succeeded.",
messages);
+ d.registerContinuous("requestDataNotFound", d.MINUTE,
+ "Requests that failed due to
DataNotFound",
+ messages);
d.registerBinomial("receivedData", d.MINUTE,
"The number of times data was received, and " +
"whether receiving was successful.", messages);
Index: Node.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/Node.java,v
retrieving revision 1.227
retrieving revision 1.228
diff -u -w -r1.227 -r1.228
--- Node.java 22 Oct 2003 10:45:59 -0000 1.227
+++ Node.java 22 Oct 2003 22:07:14 -0000 1.228
@@ -2591,7 +2591,7 @@
delay = overloadLow +
(1-overloadLow) * (delay - requestDelayCutoff) /
(successfulDelayCutoff - requestDelayCutoff);
- if (delay > 0.0F && ret < delay) ret = delay;
+ if (delay > overloadLow && ret < delay) ret = delay;
}
if (diagnostics != null && doRequestTriageBySendTime) {
@@ -2601,7 +2601,7 @@
delay = overloadLow +
(1 - overloadLow) * (delay - requestSendTimeCutoff) /
(successfulSendTimeCutoff - requestSendTimeCutoff);
- if(delay > 0.0F && ret < delay) ret = delay;
+ if(delay > overloadLow && ret < delay) ret = delay;
}
if (diagnostics != null && logOutputBytes && doOutLimitCutoff &&
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs