Author: toad
Date: 2008-11-06 21:17:42 +0000 (Thu, 06 Nov 2008)
New Revision: 23367
Modified:
trunk/freenet/src/freenet/support/compress/RealCompressor.java
Log:
Only need to run the job once!
Modified: trunk/freenet/src/freenet/support/compress/RealCompressor.java
===================================================================
--- trunk/freenet/src/freenet/support/compress/RealCompressor.java
2008-11-06 20:58:57 UTC (rev 23366)
+++ trunk/freenet/src/freenet/support/compress/RealCompressor.java
2008-11-06 21:17:42 UTC (rev 23367)
@@ -54,7 +54,6 @@
public void run() {
freenet.support.Logger.OSThread.logPID(this);
try {
- while(true) {
try {
finalJob.tryCompress();
} catch(InsertException
e) {
@@ -72,7 +71,6 @@
finalJob.onFailure(new InsertException(InsertException.INTERNAL_ERROR, t,
null), null);
}
- }
} catch(Throwable t) {
Logger.error(this, "Caught " +
t + " in " + this, t);
} finally {