Skip to content

Commit 882f91f

Browse files
docs: add max_connection_age config to grpc server options (#2171)
Co-authored-by: LFC <[email protected]>
1 parent 7914e48 commit 882f91f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/user-guide/deployments-administration/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ The following table describes the options in detail:
184184
| grpc | | | gRPC server options |
185185
| | bind_addr | String | The address to bind the gRPC server, "127.0.0.1:4001" by default |
186186
| | runtime_size | Integer | The number of server worker threads, 8 by default |
187+
| | max_connection_age | String | Maximum lifetime of a gRPC connection that the server keeps it. Refer to ["MAX_CONNECTION_AGE"](https://grpc.io/docs/guides/keepalive/) for details. Defaults to not set. Example: "1h" for 1 hour, "30m" for 30 minutes |
187188
| | flight_compression | String | Compression mode for frontend side Arrow IPC service. Available options: `none`: disable all compression, `transport`: only enable gRPC transport compression (zstd), `arrow_ipc`: only enable Arrow IPC compression (lz4), `all`: enable all compression. Default value is `none`.|
188189
| mysql | | | MySQL server options |
189190
| | enable | Boolean | Whether to enable MySQL protocol, true by default |

i18n/zh/docusaurus-plugin-content-docs/current/user-guide/deployments-administration/configuration.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ enable = true
174174
| grpc | | | gRPC 服务器选项 |
175175
| | bind_addr | 字符串 | gRPC 服务绑定地址,默认为 "127.0.0.1:4001" |
176176
| | runtime_size | 整数 | 服务器工作线程数量,默认为 8 |
177+
| | max_connection_age | 字符串 | gRPC 连接在服务端保持的最长时间。参见 ["MAX_CONNECTION_AGE"](https://grpc.io/docs/guides/keepalive/)。默认不设置。示例:"1h" 表示 1 小时,"30m" 表示 30 分钟 |
177178
| | flight_compression | 字符串 | Frontend 的 Arrow IPC 服务的压缩模式。可用选项:`none`:禁用所有压缩,`transport`:仅启用 gRPC 传输压缩(zstd),`arrow_ipc`:仅启用 Arrow IPC 压缩(lz4),`all`:启用所有压缩。默认值为 `none`|
178179
| mysql | | | MySQL 服务器选项 |
179180
| | enable | 布尔值 | 是否启用 MySQL 协议,默认为 true |

0 commit comments

Comments
 (0)