Skip to content

Commit

Permalink
docs: add maxScheduleCount to scheduler config (#34)
Browse files Browse the repository at this point in the history
Signed-off-by: Gaius <[email protected]>
  • Loading branch information
gaius-qi committed Nov 9, 2023
1 parent 03ea3bf commit 0e22937
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/reference/configuration/scheduler.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ scheduler:
algorithm: default
# backToSourceCount is single task allows the peer to back-to-source count.
backToSourceCount: 3
# maxScheduleCount is max schedule count. If scheduling exceeds the maxScheduleCount,
# scheduler will notify peer back-to-source.
maxScheduleCount: 30
# retryBackToSourceLimit reaches the limit, then the peer back-to-source.
retryBackToSourceLimit: 5
# Retry scheduling limit times.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ scheduler:
algorithm: default
# 单个任务允许客户端回源的数量。
backToSourceCount: 3
# 单个任务最大调度次数,如果超过最大调度次数会通知其回源。
maxScheduleCount: 30
# 调度回源重试次数限制。
retryBackToSourceLimit: 5
# 调度重试次数限制。
Expand Down

0 comments on commit 0e22937

Please sign in to comment.