docs: change capacity and quantum for manager job (#147)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2024-09-04 11:33:50 +08:00 committed by GitHub
parent 4f12b6906e
commit 94580cfa51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -131,9 +131,9 @@ job:
# 向桶中添加令牌的时间间隔。
fillInterval: 1m
# 桶的最大容量,即桶中最多可以存储的令牌数量。
capacity: 100
capacity: 10
# 每次添加的令牌数量。
quantum: 100
quantum: 10
# 同步 Peer 信息配置。
syncPeers:
# 同步 Peer 信息的间隔时间。Manager 同步会从 Scheduler 同步所有的 Peer 信息,并将 Peer 统计信息展示在 Manager 控制台。