Skip to content

Commit

Permalink
[improve][docs] correct the description for speed.channel (#927)
Browse files Browse the repository at this point in the history
Fix #923
  • Loading branch information
wgzhao authored Sep 22, 2023
1 parent 1be834a commit 8fdb867
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/setupJob.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@

### `speed.channel`

设置通道数,该通道路确定了每个任务的线程数,目前一个channel对应5个线程,比如设置 `channel` 为 3, 则有 `3 * 5 + 1 = 16` 个线程,其中一个线程为统计线程。
设置通道数,该通道路确定了总的 Task 线程数,假定设定 `speed.channel` 为 13, 则一共有 13 个 Task.
然后根据 `conf/core.json` 配置中的 `taskGroup.channel` 配置来确定要创建的 taskGroup 数量。即 `taskGroup = speed.channel / taskGroup.channel`.

## `errorLimit`

Expand Down

0 comments on commit 8fdb867

Please sign in to comment.