Skip to content

Commit d088add

Browse files
committed
MOD: 顺手修下手误
1 parent 13b1b97 commit d088add

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/scheduler/predicate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ func ParallelizeUntil(ctx context.Context, workers, pieces int, doWorkPiece DoWo
6565
// 关闭了一个有缓存的channel
6666
close(toProcess)
6767
// 如果pieces数量比较少,也就是说假设node只有10个,那么workers就赋值为10个
68-
// 到这里差不多可以猜到worker是并发工作数,当node大于16时并发是16,当node小于16时并法数就是node数
68+
// 到这里差不多可以猜到worker是并发工作数,当node大于16时并发是16,当node小于16时并发数就是node数
6969
if pieces < workers {
7070
workers = pieces
7171
}

0 commit comments

Comments
 (0)