mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-26 22:09:54 +00:00
dirnode.build_manifest: include node.list in the limiter, that's the most important thing to slow down
This commit is contained in:
parent
cd236efc68
commit
9d4749d546
@ -480,7 +480,7 @@ class NewDirectoryNode:
|
||||
def _deep_traverse_dirnode(self, node, path, walker, found, limiter):
|
||||
# process this directory, then walk its children
|
||||
d = limiter.add(walker.add_node, node, path)
|
||||
d.addCallback(lambda ignored: node.list())
|
||||
d.addCallback(lambda ignored: limiter.add(node.list))
|
||||
d.addCallback(self._deep_traverse_dirnode_children, node, path,
|
||||
walker, found, limiter)
|
||||
return d
|
||||
|
Loading…
x
Reference in New Issue
Block a user