Author: toad
Date: 2008-02-19 17:36:51 +0000 (Tue, 19 Feb 2008)
New Revision: 18074

Modified:
   trunk/freenet/src/freenet/node/CHKInsertSender.java
Log:
Synchronization is unnecessary here.

Modified: trunk/freenet/src/freenet/node/CHKInsertSender.java
===================================================================
--- trunk/freenet/src/freenet/node/CHKInsertSender.java 2008-02-19 17:35:20 UTC 
(rev 18073)
+++ trunk/freenet/src/freenet/node/CHKInsertSender.java 2008-02-19 17:36:51 UTC 
(rev 18074)
@@ -293,11 +293,10 @@
             nodesRoutedTo.add(next);

             Message req;
-            synchronized (this) {
-                       htl = node.decrementHTL(sentRequest ? next : source, 
htl);
-
-               req = DMT.createFNPInsertRequest(uid, htl, myKey);
-            }
+            htl = node.decrementHTL(sentRequest ? next : source, htl);
+            
+            req = DMT.createFNPInsertRequest(uid, htl, myKey);
+            
             // Wait for ack or reject... will come before even a locally 
generated DataReply

             MessageFilter mfAccepted = 
MessageFilter.create().setSource(next).setField(DMT.UID, 
uid).setTimeout(ACCEPTED_TIMEOUT).setType(DMT.FNPAccepted);


Reply via email to