fixed issue with refreshTable not using correct spider api

This commit is contained in:
Brian Muller 2016-08-01 13:41:26 -04:00
parent 6bbd1bfa42
commit f3d1d2e6a5

View File

@ -61,7 +61,7 @@ class Server(object):
for id in self.protocol.getRefreshIDs(): for id in self.protocol.getRefreshIDs():
node = Node(id) node = Node(id)
nearest = self.protocol.router.findNeighbors(node, self.alpha) nearest = self.protocol.router.findNeighbors(node, self.alpha)
spider = NodeSpiderCrawl(self.protocol, node, nearest) spider = NodeSpiderCrawl(self.protocol, node, nearest, self.ksize, self.alpha)
ds.append(spider.find()) ds.append(spider.find())
def republishKeys(_): def republishKeys(_):