Author: toad
Date: 2005-11-30 21:42:38 +0000 (Wed, 30 Nov 2005)
New Revision: 7641

Modified:
   trunk/freenet/src/freenet/node/Node.java
   trunk/freenet/src/freenet/node/Version.java
Log:
253:
Comments (but changes the line numbers in Node, so still bump the Version)

Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2005-11-30 21:27:36 UTC (rev 
7640)
+++ trunk/freenet/src/freenet/node/Node.java    2005-11-30 21:42:38 UTC (rev 
7641)
@@ -332,8 +332,17 @@
         runningUIDs = new HashSet();

         BlockTransmitter.setMinPacketInterval(throttleInterval);
-        
-        // FIXME test the soft limit
+
+        /*
+         * FIXME: test the soft limit.
+         * 
+         * The soft limit is implemented, except for:
+         * - We need to write the current status to disk every 1 minute or so.
+         * - When we start up, we need to read this in, assume that the node 
sent
+         *   as many packets as it was allowed to in the following minute, and
+         *   then shut down before writing again (worst case scenario).
+         * - We need to test the soft limit!
+         */
         BlockTransmitter.setSoftLimitPeriod(14*24*60*60*1000);
         BlockTransmitter.setSoftMinPacketInterval(0);


Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2005-11-30 21:27:36 UTC (rev 
7640)
+++ trunk/freenet/src/freenet/node/Version.java 2005-11-30 21:42:38 UTC (rev 
7641)
@@ -20,7 +20,7 @@
        public static final String protocolVersion = "1.0";

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

        /** Oldest build of Fred we will talk to */
        public static final int lastGoodBuild = 252;


Reply via email to