diff --git a/docs/user-guide/deployments/configuration.md b/docs/user-guide/deployments/configuration.md index 51b870e541..0b856308f2 100644 --- a/docs/user-guide/deployments/configuration.md +++ b/docs/user-guide/deployments/configuration.md @@ -688,6 +688,11 @@ max_retry_times = 12 ## Initial retry delay of procedures, increases exponentially retry_delay = "500ms" +## Max running procedures. +## The maximum number of procedures that can be running at the same time. +## If the number of running procedures exceeds this limit, the procedure will be rejected. +max_running_procedures = 128 + # Failure detectors options. [failure_detector] @@ -797,6 +802,7 @@ backoff_deadline = "5mins" | `procedure` | -- | -- | Procedure storage options. | | `procedure.max_retry_times` | Integer | `12` | Procedure max retry time. | | `procedure.retry_delay` | String | `500ms` | Initial retry delay of procedures, increases exponentially | +| `procedure.max_running_procedures` | Integer | `128` | The maximum number of procedures that can be running at the same time. If the number of running procedures exceeds this limit, the procedure will be rejected. | | `failure_detector` | -- | -- | -- | | `failure_detector.threshold` | Float | `8.0` | The threshold value used by the failure detector to determine failure conditions. | | `failure_detector.min_std_deviation` | String | `100ms` | The minimum standard deviation of the heartbeat intervals, used to calculate acceptable variations. | diff --git a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md index d5875f2f01..c4be8819eb 100644 --- a/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md +++ b/i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments/configuration.md @@ -677,6 +677,12 @@ max_retry_times = 12 ## 程序的初始重试延迟 retry_delay = "500ms" +## 最大运行程序数。 +## 同一时间可以运行的程序最大数量。 +## 如果运行的程序数量超过此限制,程序将被拒绝。 +max_running_procedures = 128 + + # Failure detector 选项 [failure_detector] @@ -768,6 +774,7 @@ backoff_deadline = "5mins" | `procedure` | -- | -- | | | `procedure.max_retry_times` | 整数 | `12` | Procedure 的最大重试次数。 | | `procedure.retry_delay` | 字符串 | `500ms` | Procedure 初始重试延迟,延迟会指数增长。 | +| `procedure.max_running_procedures` | Integer | `128` | 同一时间可以运行的程序最大数量。如果运行的程序数量超过此限制,程序将被拒绝。 | | `failure_detector` | -- | -- | 故障检测选项。 | | `failure_detector.threshold` | 浮点数 | `8.0` | Failure detector 用来判断故障条件的阈值。 | | `failure_detector.min_std_deviation` | 字符串 | `100ms` | 心跳间隔的最小标准差,用于计算可接受的变动范围。 |