doc: add compressMsgSize back
This commit is contained in:
parent
23f8209d2b
commit
31204b72cf
|
@ -598,6 +598,18 @@ The charset that takes effect is UTF-8.
|
||||||
| Value Range | 0: not consistent; 1: consistent. |
|
| Value Range | 0: not consistent; 1: consistent. |
|
||||||
| Default | 1 |
|
| Default | 1 |
|
||||||
|
|
||||||
|
## Compress Parameters
|
||||||
|
|
||||||
|
### compressMsgSize
|
||||||
|
|
||||||
|
| Attribute | Description |
|
||||||
|
| -------- | ----------------------------- |
|
||||||
|
| Applicable | Server only |
|
||||||
|
| Meaning | Whether RPC message is compressed |
|
||||||
|
| Value Range | -1: none message is compressed; 0: all messages are compressed; N (N>0): messages exceeding N bytes are compressed |
|
||||||
|
| Default | -1 |
|
||||||
|
|
||||||
|
|
||||||
## Other Parameters
|
## Other Parameters
|
||||||
|
|
||||||
### enableCoreFile
|
### enableCoreFile
|
||||||
|
|
|
@ -622,6 +622,17 @@ charset 的有效值是 UTF-8。
|
||||||
| 取值范围 | 0: 不启动;1:启动 |
|
| 取值范围 | 0: 不启动;1:启动 |
|
||||||
| 缺省值 | 1 |
|
| 缺省值 | 1 |
|
||||||
|
|
||||||
|
## 压缩参数
|
||||||
|
|
||||||
|
### compressMsgSize
|
||||||
|
|
||||||
|
| 属性 | 说明 |
|
||||||
|
| -------- | ----------------------------- |
|
||||||
|
| 适用于 | 仅服务端适用 |
|
||||||
|
| 含义 | 是否对 RPC 消息进行压缩 |
|
||||||
|
| 取值范围 | -1: 所有消息都不压缩; 0: 所有消息都压缩; N (N>0): 只有大于 N 个字节的消息才压缩 |
|
||||||
|
| 缺省值 | -1 |
|
||||||
|
|
||||||
## 3.0 中有效的配置参数列表
|
## 3.0 中有效的配置参数列表
|
||||||
|
|
||||||
| # | **参数** | **适用于 2.X ** | **适用于 3.0 ** | 3.0 版本的当前行为 |
|
| # | **参数** | **适用于 2.X ** | **适用于 3.0 ** | 3.0 版本的当前行为 |
|
||||||
|
|
Loading…
Reference in New Issue