Author: toad
Date: 2005-11-30 18:11:21 +0000 (Wed, 30 Nov 2005)
New Revision: 7639

Modified:
   trunk/freenet/src/freenet/node/Node.java
   trunk/freenet/src/freenet/node/Version.java
Log:
251: (mandatory)
Report request completion times on the request throttle.
Not the insert throttle!
Thanks Tubbi3 for seeing this!

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2005-11-30 16:35:06 UTC (rev 
7638)
+++ trunk/freenet/src/freenet/node/Node.java    2005-11-30 18:11:21 UTC (rev 
7639)
@@ -445,7 +445,7 @@
                                        status == RequestSender.ROUTE_NOT_FOUND 
||
                                        status == RequestSender.VERIFY_FAILURE) 
{
                                long rtt = System.currentTimeMillis() - 
startTime;
-                               insertThrottle.requestCompleted(rtt);
+                               requestThrottle.requestCompleted(rtt);
                        }
                }


Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2005-11-30 16:35:06 UTC (rev 
7638)
+++ trunk/freenet/src/freenet/node/Version.java 2005-11-30 18:11:21 UTC (rev 
7639)
@@ -20,10 +20,10 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       public static final int buildNumber = 250;
+       public static final int buildNumber = 251;

        /** Oldest build of Fred we will talk to */
-       public static final int lastGoodBuild = 249;
+       public static final int lastGoodBuild = 251;

        /** The highest reported build of fred */
        public static int highestSeenBuild = buildNumber;


Reply via email to