Author: toad
Date: 2007-12-07 00:02:31 +0000 (Fri, 07 Dec 2007)
New Revision: 16384

Modified:
   trunk/freenet/src/freenet/node/NodeStats.java
Log:
----- falafel at 04hvY6INdjASRfQkDT1Z0skrJkQ ----- 2007.12.06 - 19:26:23GMT 
-----

#1088, on the stats page

Preemptive Rejection Reasons

I get ever increasing numbers (like, hundreds) of messages like this (the 
actual numbers are all slightly different):

Input bandwidth liability
(766565.63473467 > 765234.0)

Modified: trunk/freenet/src/freenet/node/NodeStats.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeStats.java       2007-12-06 23:46:32 UTC 
(rev 16383)
+++ trunk/freenet/src/freenet/node/NodeStats.java       2007-12-07 00:02:31 UTC 
(rev 16384)
@@ -466,8 +466,8 @@
                bandwidthAvailableInput *= 
NodeStats.FRACTION_OF_BANDWIDTH_USED_BY_REQUESTS;
                if(bandwidthLiabilityInput > bandwidthAvailableInput) {
                        pInstantRejectIncoming.report(1.0);
-                       rejected("Input bandwidth liability 
("+bandwidthLiabilityInput+" > "+bandwidthAvailableInput+")", isLocal);
-                       return "Input bandwidth liability";
+                       rejected("Input bandwidth liability", isLocal);
+                       return "Input bandwidth liability 
("+bandwidthLiabilityInput+" > "+bandwidthAvailableInput+")";
                }




Reply via email to