提交 66189325 作者: Iaroslav Gridin

Re-enable async children enumerating in FetchGraph

License: MIT
Signed-off-by: 's avatarIaroslav Gridin <voker57@gmail.com>
上级 08f342e8
......@@ -140,7 +140,7 @@ func (n *dagService) Remove(nd node.Node) error {
// FetchGraph fetches all nodes that are children of the given node
func FetchGraph(ctx context.Context, c *cid.Cid, serv DAGService) error {
return EnumerateChildren(ctx, serv, c, cid.NewSet().Visit, false)
return EnumerateChildrenAsync(ctx, serv, c, cid.NewSet().Visit)
}
// FindLinks searches this nodes links for the given key,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论