We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13b1b97 commit d088addCopy full SHA for d088add
core/scheduler/predicate.md
@@ -65,7 +65,7 @@ func ParallelizeUntil(ctx context.Context, workers, pieces int, doWorkPiece DoWo
65
// 关闭了一个有缓存的channel
66
close(toProcess)
67
// 如果pieces数量比较少,也就是说假设node只有10个,那么workers就赋值为10个
68
- // 到这里差不多可以猜到worker是并发工作数,当node大于16时并发是16,当node小于16时并法数就是node数
+ // 到这里差不多可以猜到worker是并发工作数,当node大于16时并发是16,当node小于16时并发数就是node数
69
if pieces < workers {
70
workers = pieces
71
}
0 commit comments