Commit a8c6bed7 authored by Steven Allen's avatar Steven Allen

fix: parallel walk in gc & pin ls

parent 9e2284b1
......@@ -171,7 +171,7 @@ func Descendants(ctx context.Context, getLinks dag.GetLinks, set *cid.Set, roots
for _, c := range roots {
// Walk recursively walks the dag and adds the keys to the given set
err := dag.Walk(ctx, verifyGetLinks, c, set.Visit)
err := dag.WalkParallel(ctx, verifyGetLinks, c, set.Visit)
if err != nil {
err = verboseCidError(err)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment