mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-07 09:17:49 +08:00
make pinning use serial graph enumeration
License: MIT Signed-off-by: Jeromy <why@ipfs.io>
This commit is contained in:
parent
8fc4257876
commit
eac1fa2a3f
@ -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,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user