Author: toad
Date: 2009-04-02 15:11:35 +0000 (Thu, 02 Apr 2009)
New Revision: 26351
Modified:
trunk/freenet/src/freenet/support/io/SegmentedBucketChainBucket.java
Log:
Comments
Modified: trunk/freenet/src/freenet/support/io/SegmentedBucketChainBucket.java
===================================================================
--- trunk/freenet/src/freenet/support/io/SegmentedBucketChainBucket.java
2009-04-02 15:03:43 UTC (rev 26350)
+++ trunk/freenet/src/freenet/support/io/SegmentedBucketChainBucket.java
2009-04-02 15:11:35 UTC (rev 26351)
@@ -107,6 +107,9 @@
};
+ // Must be run blocking so that if we are on the database
thread, the job is
+ // added before committing. If we are not on the database
thread, it doesn't
+ // matter.
dbJobRunner.runBlocking(freeJob, NativeThread.HIGH_PRIORITY);
}
@@ -488,6 +491,9 @@
}
};
+ // Must be run blocking so that if we are on the database
thread, the job is
+ // added before committing. If we are not on the database
thread, it doesn't
+ // matter.
dbJobRunner.runBlocking(clearJob, NativeThread.HIGH_PRIORITY-1);
}
_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs