Author: toad
Date: 2008-04-22 19:01:41 +0000 (Tue, 22 Apr 2008)
New Revision: 19503

Modified:
   trunk/freenet/src/freenet/node/NodeStats.java
Log:
DOH! We weren't counting SSK requests at all.

Modified: trunk/freenet/src/freenet/node/NodeStats.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeStats.java       2008-04-22 18:50:36 UTC 
(rev 19502)
+++ trunk/freenet/src/freenet/node/NodeStats.java       2008-04-22 19:01:41 UTC 
(rev 19503)
@@ -513,7 +513,7 @@
                        localChkFetchBytesSentAverage.currentValue() * 
numLocalCHKRequests +
                        successfulSskFetchBytesSentAverage.currentValue() * 
numRemoteSSKRequests +
                        // Local requests don't relay data, so use the local 
average
-                       localSskFetchBytesSentAverage.currentValue() * 
numRemoteSSKRequests +
+                       localSskFetchBytesSentAverage.currentValue() * 
numLocalSSKRequests +
                        // Inserts are the same for remote as local for sent 
bytes
                        successfulChkInsertBytesSentAverage.currentValue() * 
numRemoteCHKInserts +
                        successfulChkInsertBytesSentAverage.currentValue() * 
numLocalCHKInserts +


Reply via email to