feat: add server ratelimit config
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md b/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
index 57d0253..6eeb6a0 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/user/configurations.md
@@ -182,7 +182,10 @@
| metrics.registryType | Indicator registrar type | The indicator registrar type used by Metrics is a built-in compact (simple) implementation by default. Meters in this implementation only use a limited memory count, and the performance is high enough to meet most scenarios; Currently, only one indicator registrar can be set |
| metrics.exporterList | Index result Measurement data outputter list | default prometheus. Multiple outputters are separated by English commas, such as "prometheus, jmx". Currently, only the prometheus outputters are connected |
| metrics.exporterPrometheusPort | prometheus exporter client port number | 9898 by default |
-
+| ratelimit.enable | Whether to enable single-point current limiting on the server side. Currently, only the token bucket algorithm is supported, and current limiting is performed directly when the global transaction starts requesting. | Default is false (support hot configuration) | New in 2.4 |
+| ratelimit.bucketTokenNumPerSecond | The number of tokens generated per second | Default is 999999 (support hot configuration) | New in 2.4 |
+| ratelimit.bucketTokenMaxNum | Maximum number of tokens in the token bucket | Default is 999999 (support hot configuration) | New in 2.4 |
+| ratelimit.bucketTokenInitialNum | The number of tokens initialized in the token bucket | Default is 999999 (support hot configuration) | New in 2.4 |
### Client side
| key | desc | remark | change record |
diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
index 5422d3a..3409c22 100644
--- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
+++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/user/configurations.md
@@ -137,7 +137,10 @@
| metrics.registryType | 指标注册器类型 | Metrics 使用的指标注册器类型,默认为内置的 compact(简易)实现,这个实现中的 Meter 仅使用有限内存计数,性能高足够满足大多数场景;目前只能设置一个指标注册器实现 | |
| metrics.exporterList | 指标结果 Measurement 数据输出器列表 | 默认 prometheus,多个输出器使用英文逗号分割,例如"prometheus,jmx",目前仅实现了对接 prometheus 的输出器 | |
| metrics.exporterPrometheusPort | prometheus 输出器 Client 端口号 | 默认 9898 | |
-
+| ratelimit.enable | 是否开启server端单点限流,目前只支持令牌桶算法,且直接在全局事务开始请求时进行限流 | 默认 false(支持热配置) | 2.4 版本新增 |
+| ratelimit.bucketTokenNumPerSecond | 令牌桶限流算法每秒产生令牌数 | 默认 999999(支持热配置) | 2.4 版本新增 |
+| ratelimit.bucketTokenMaxNum | 令牌桶限流算法桶中令牌最大数 | 默认 999999(支持热配置) | 2.4 版本新增 |
+| ratelimit.bucketTokenInitialNum | 令牌桶限流算法桶中初始化令牌数数 | 默认 999999(支持热配置) | 2.4 版本新增 |
### client 端
| key | desc | remark | change record |