Author: toad
Date: 2006-05-17 11:35:14 +0000 (Wed, 17 May 2006)
New Revision: 8737

Modified:
   trunk/freenet/src/freenet/client/async/SingleFileInserter.java
   trunk/freenet/src/freenet/node/Version.java
Log:
715: Hopefully speed up startup.

Modified: trunk/freenet/src/freenet/client/async/SingleFileInserter.java
===================================================================
--- trunk/freenet/src/freenet/client/async/SingleFileInserter.java      
2006-05-17 11:28:28 UTC (rev 8736)
+++ trunk/freenet/src/freenet/client/async/SingleFileInserter.java      
2006-05-17 11:35:14 UTC (rev 8737)
@@ -67,7 +67,7 @@
        }

        public void start() throws InserterException {
-               if((!ctx.dontCompress) && block.getData().size() > 
COMPRESS_OFF_THREAD_LIMIT) {
+               if(block.getData().size() > COMPRESS_OFF_THREAD_LIMIT) {
                        // Run off thread
                        OffThreadCompressor otc = new OffThreadCompressor();
                        Thread t = new Thread(otc, "Compressor for "+this);

Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2006-05-17 11:28:28 UTC (rev 
8736)
+++ trunk/freenet/src/freenet/node/Version.java 2006-05-17 11:35:14 UTC (rev 
8737)
@@ -18,7 +18,7 @@
        public static final String protocolVersion = "1.0";

        /** The build number of the current revision */
-       private static final int buildNumber = 714;
+       private static final int buildNumber = 715;

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


Reply via email to