From 059b347034eeb78fefad51432c1d929dcd154023 Mon Sep 17 00:00:00 2001 From: Gaius Date: Mon, 8 Jan 2024 15:31:36 +0800 Subject: [PATCH] docs: remove maxScheduleCount in scheduler configuration Signed-off-by: Gaius --- docs/reference/configuration/scheduler.md | 9 +++------ .../current/reference/configuration/scheduler.md | 8 +++----- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/docs/reference/configuration/scheduler.md b/docs/reference/configuration/scheduler.md index 8b683069..a5f6b8b3 100644 --- a/docs/reference/configuration/scheduler.md +++ b/docs/reference/configuration/scheduler.md @@ -56,15 +56,12 @@ 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 + retryBackToSourceLimit: 30 # Retry scheduling limit times. - retryLimit: 10 + retryLimit: 40 # Retry scheduling interval. - retryInterval: 50ms + retryInterval: 100ms # GC metadata configuration. gc: # pieceDownloadTimeout is the timeout of downloading piece. diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/reference/configuration/scheduler.md b/i18n/zh/docusaurus-plugin-content-docs/current/reference/configuration/scheduler.md index 71124ea0..ef0c39a0 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/reference/configuration/scheduler.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/reference/configuration/scheduler.md @@ -52,14 +52,12 @@ scheduler: algorithm: default # 单个任务允许客户端回源的数量。 backToSourceCount: 3 - # 单个任务最大调度次数,如果超过最大调度次数会通知其回源。 - maxScheduleCount: 30 # 调度回源重试次数限制。 - retryBackToSourceLimit: 5 + retryBackToSourceLimit: 30 # 调度重试次数限制。 - retryLimit: 10 + retryLimit: 40 # 调度重试时间间隔。 - retryInterval: 50ms + retryInterval: 100ms # 数据回收策略。 gc: # 单个 Piece 下载超时时间。