Author: toad
Date: 2007-07-10 11:53:44 +0000 (Tue, 10 Jul 2007)
New Revision: 14013
Modified:
trunk/freenet/src/freenet/node/NodeStats.java
Log:
Update pInstantReject when we reject due to the thread limit
Modified: trunk/freenet/src/freenet/node/NodeStats.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeStats.java 2007-07-10 10:44:12 UTC
(rev 14012)
+++ trunk/freenet/src/freenet/node/NodeStats.java 2007-07-10 11:53:44 UTC
(rev 14013)
@@ -355,6 +355,7 @@
int threadCount = getActiveThreadCount();
if(threadLimit < threadCount) {
+ pInstantRejectIncoming.report(1.0);
preemptiveRejectReasons.inc(">threadLimit");
return ">threadLimit ("+threadCount+'/'+threadLimit+')';
}