[mnet-devel] patch: don't kill too-fast redundant lookups

Zooko O'Whielacronx zooko at zooko.com
Tue Feb 17 16:19:50 GMT 2004


We've discussed this on IRC.  The "kill too-fast redundant lookups" feature can 
cause failures.

This is the simplest way to disable it, but not the prettiest.


--- common/peerman.py	14 Feb 2004 18:16:08 -0000	1.30
+++ common/peerman.py	17 Feb 2004 16:06:40 -0000
@@ -361,8 +356,8 @@ class PeerMan:
                 callback(outcome=None, failure_reason="no new contact information found after querying MTs")
 
         for mtId in qmtIds:
-            if PEERMAN:
+            if 2 == 2:
                 self.mtm.initiate(mtId, "lookup contact info", nodeId, outcome_func=demultiplex, post_timeout_outcome_func=demultiplex, lookupchain=lookupchain + (mtId,))
             else:
                 if mtId not in self.lookupcontacttimes.keys():


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
mnet-devel mailing list
mnet-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mnet-devel




More information about the Mnet-devel mailing list