projects
/
quix0rs-apt-p2p.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
When a node fails, schedule a future ping to check again.
[quix0rs-apt-p2p.git]
/
apt_p2p_Khashmir
/
DHT.py
diff --git
a/apt_p2p_Khashmir/DHT.py
b/apt_p2p_Khashmir/DHT.py
index 1236ebcf2940a67a3dfbe7367a1616d2e19d332b..ddcaa7ac0c304cac21988f4603be7fef7ccc212d 100644
(file)
--- a/
apt_p2p_Khashmir/DHT.py
+++ b/
apt_p2p_Khashmir/DHT.py
@@
-477,7
+477,7
@@
class TestMultiDHT(unittest.TestCase):
if next_node + 1 < len(self.l):
d.addCallback(self.node_join, next_node + 1)
else:
-
d.addCallback(
self.lastDefer.callback)
+
reactor.callLater(1, d.addCallback,
self.lastDefer.callback)
def test_join(self):
self.timeout = 2