[freenet-cvs] r20954 - branches/db4o/freenet/src/freenet/node

toad at freenetproject.org toad at freenetproject.org
Thu Jul 3 23:17:39 UTC 2008


Author: toad
Date: 2008-07-03 23:17:39 +0000 (Thu, 03 Jul 2008)
New Revision: 20954

Modified:
   branches/db4o/freenet/src/freenet/node/RequestStarter.java
Log:
Don't run the same request N zillion times!

Modified: branches/db4o/freenet/src/freenet/node/RequestStarter.java
===================================================================
--- branches/db4o/freenet/src/freenet/node/RequestStarter.java	2008-07-03 22:49:34 UTC (rev 20953)
+++ branches/db4o/freenet/src/freenet/node/RequestStarter.java	2008-07-03 23:17:39 UTC (rev 20954)
@@ -224,6 +224,7 @@
 		if(req != null && !this.isInsert) {
 			if(!sched.addToFetching(req.key)) {
 				sched.requeue(req);
+				req = null;
 			}
 		}
 		return req;




More information about the cvs mailing list