docs: add maxScheduleCount to scheduler config (#34)

Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
Gaius 2023-11-09 19:52:58 +08:00 committed by GitHub
parent 03ea3bfd01
commit 0e2293758c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View File

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

View File

@ -52,6 +52,8 @@ scheduler:
algorithm: default
# 单个任务允许客户端回源的数量。
backToSourceCount: 3
# 单个任务最大调度次数,如果超过最大调度次数会通知其回源。
maxScheduleCount: 30
# 调度回源重试次数限制。
retryBackToSourceLimit: 5
# 调度重试次数限制。