Update of /cvsroot/freenet/freenet/src/freenet/node/states/request
In directory sc8-pr-cvs1:/tmp/cvs-serv16830/src/freenet/node/states/request
Modified Files:
Pending.java SendingReply.java
Log Message:
logging, don't report inserts on ngrt.globalEstimator, don't log diagnostics when we
don't actually use the routing for routing (in sendingreply), only decrement the
hopsToLive on a QueryReject (to hopefully improve insert performance), logger fixes
Index: Pending.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/request/Pending.java,v
retrieving revision 1.50
retrieving revision 1.51
diff -u -r1.50 -r1.51
--- Pending.java 2 Sep 2003 17:05:22 -0000 1.50
+++ Pending.java 2 Sep 2003 21:37:32 -0000 1.51
@@ -161,7 +161,7 @@
++rejected;
// Umm, no. Rejecting node should not have any influence
- hopsToLive = (int) Math.min(hopsToLive-1, hopsToLive/2);
+ hopsToLive = hopsToLive-1;
if(logDEBUG)
n.logger.log(this, "Rejected count: "+rejected+
Index: SendingReply.java
===================================================================
RCS file: /cvsroot/freenet/freenet/src/freenet/node/states/request/SendingReply.java,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- SendingReply.java 30 Aug 2003 23:16:53 -0000 1.20
+++ SendingReply.java 2 Sep 2003 21:37:32 -0000 1.21
@@ -57,7 +57,7 @@
length, false, false);
ft.storeData(n, r.getNextRoute(), -1, 0,
new RequestSendCallback("StoreData", n, this));
- r.terminate(false, false); // duhh :)
+ r.terminateNoDiagnostic(); // duhh :). false because not actually
used
// We are sending from cache, no need to do pcaching
} catch (CommunicationException e) {
n.logger.log(this,
_______________________________________________
cvs mailing list
[EMAIL PROTECTED]
http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/cvs