Skip to content

Commit

Permalink
docs: change capacity and quantum for manager job (#147)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi authored Sep 4, 2024
1 parent 4f12b69 commit 94580cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/reference/configuration/manager.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,9 +137,9 @@ job:
# fillInterval is the interval for refilling the bucket.
fillInterval: 1m
# capacity is the maximum number of requests that can be consumed in a single fillInterval.
capacity: 100
capacity: 10
# quantum is the number of tokens taken from the bucket for each request.
quantum: 100
quantum: 10
# Sync peers configuration.
syncPeers:
# Interval is the interval for syncing all peers information from the scheduler and
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -131,9 +131,9 @@ job:
# 向桶中添加令牌的时间间隔。
fillInterval: 1m
# 桶的最大容量,即桶中最多可以存储的令牌数量。
capacity: 100
capacity: 10
# 每次添加的令牌数量。
quantum: 100
quantum: 10
# 同步 Peer 信息配置。
syncPeers:
# 同步 Peer 信息的间隔时间。Manager 同步会从 Scheduler 同步所有的 Peer 信息,并将 Peer 统计信息展示在 Manager 控制台。
Expand Down

0 comments on commit 94580cf

Please sign in to comment.