Author: sandos
Date: 2006-07-22 10:25:48 +0000 (Sat, 22 Jul 2006)
New Revision: 9712
Modified:
trunk/freenet/src/freenet/client/InserterContext.java
Log:
Use the proper SimpleEventProducer, dont copy from the other InserterContext.
This made a batch of inserts show the same completion percentage.
Modified: trunk/freenet/src/freenet/client/InserterContext.java
===================================================================
--- trunk/freenet/src/freenet/client/InserterContext.java 2006-07-22
04:00:27 UTC (rev 9711)
+++ trunk/freenet/src/freenet/client/InserterContext.java 2006-07-22
10:25:48 UTC (rev 9712)
@@ -58,7 +58,7 @@
this.consecutiveRNFsCountAsSuccess =
ctx.consecutiveRNFsCountAsSuccess;
this.maxInsertRetries = ctx.maxInsertRetries;
this.maxSplitInsertThreads = ctx.maxSplitInsertThreads;
- this.eventProducer = ctx.eventProducer;
+ this.eventProducer = producer;
this.splitfileSegmentDataBlocks =
ctx.splitfileSegmentDataBlocks;
this.splitfileSegmentCheckBlocks =
ctx.splitfileSegmentCheckBlocks;
this.cacheLocalRequests = ctx.cacheLocalRequests;