force KBucket refreshes

This commit is contained in:
Jack Robison 2018-05-23 18:11:14 -04:00
parent ae22468fec
commit 9920ff59d4
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2

View file

@ -657,7 +657,7 @@ class Node(MockKademliaHelper):
@defer.inlineCallbacks @defer.inlineCallbacks
def _refreshRoutingTable(self): def _refreshRoutingTable(self):
nodeIDs = self._routingTable.getRefreshList(0, False) nodeIDs = self._routingTable.getRefreshList(0, True)
while nodeIDs: while nodeIDs:
searchID = nodeIDs.pop() searchID = nodeIDs.pop()
yield self.iterativeFindNode(searchID) yield self.iterativeFindNode(searchID)