Skip to content

Commit

Permalink
fix: pass workers to diff scheduler (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
frrist committed Jun 1, 2022
1 parent 1e3e6c6 commit 7b82b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion diff_parallel.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func ParallelDiff(ctx context.Context, prevBs, curBs cbor.IpldStore, prev, cur c
return removeAll(ctx, prevCtx, prevAmt.node, 0)
}
out := make(chan *Change)
differ, ctx := newDiffScheduler(ctx, 1, &task{
differ, ctx := newDiffScheduler(ctx, workers, &task{
prevCtx: prevCtx,
curCtx: curCtx,
prev: prevAmt.node,
Expand Down

0 comments on commit 7b82b2c

Please sign in to comment.