]> git.mxchange.org Git - quix0rs-apt-p2p.git/blobdiff - apt_p2p_Khashmir/actions.py
When a node fails, schedule a future ping to check again.
[quix0rs-apt-p2p.git] / apt_p2p_Khashmir / actions.py
index 865561cc0ceb5e160598ec8f524afd7adf7d0bc7..c49959ff82741efba5570109209dcb480b74ad0e 100644 (file)
@@ -207,7 +207,7 @@ class ActionBase:
         """Receive an error from a remote node."""
         log.msg("action %s failed on %s/%s: %s" % (self.action, node.host, node.port, err.getErrorMessage()))
         if node.id != self.caller.node.id:
-            self.caller.table.nodeFailed(node)
+            self.caller.nodeFailed(node)
         self.failed[node.id] = 1
         if self.outstanding.has_key(node.id):
             self.outstanding_results -= self.outstanding[node.id]