提交 eac1fa2a 作者: Jeromy

make pinning use serial graph enumeration

License: MIT
Signed-off-by: 's avatarJeromy <why@ipfs.io>
上级 8fc42578
......@@ -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 EnumerateChildrenAsync(ctx, serv, c, cid.NewSet().Visit)
return EnumerateChildren(ctx, serv, c, cid.NewSet().Visit, false)
}
// FindLinks searches this nodes links for the given key,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论