Skip to content

Commit 2a18c73

Browse files
authored
Merge pull request #315 from benbaley/master
更新db.nogc的参数说明
2 parents d1baaba + 8c5941d commit 2a18c73

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

docs/成为主网验证节点.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ nohup platon --identity platon --datadir ./data --port 16789 --http.port 6789 --
185185
| --cbft.blskey | Specify the node bls private key file |
186186
| --verbosity | The level of logging, 0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE |
187187
| --syncmode | fast: Fast synchronization mode, full: All synchronous mode |
188-
| --db.nogc | Enable archive mode |
188+
| --db.nogc | Enable archive mode, when this switch is turned on, the garbage collection mechanism will no longer work, so the CPU overhead will be reduced and the corresponding disk overhead will be increased |
189189
| --allow-insecure-unlock | Enable unlockAccount function |
190190

191191
See more parameters with the command `platon --help`

docs/成为开发网验证节点.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port
190190
| --cbft.blskey | Specify the node bls private key file |
191191
| --verbosity | The level of logging, 0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE |
192192
| --syncmode | fast: Fast synchronization mode, full: All synchronous mode |
193-
| --db.nogc | Enable archive mode |
193+
| --db.nogc | Enable archive mode, when this switch is turned on, the garbage collection mechanism will no longer work, so the CPU overhead will be reduced and the corresponding disk overhead will be increased |
194194

195195
See more parameters with the command `platon --help`
196196

website/i18n/zh-CN/docusaurus-plugin-content-docs/current/成为主网验证节点.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ nohup platon --identity platon --datadir ./data --port 16789 --http.port 6789 --
186186
| --cbft.blskey | 指定节点 bls 私钥文件 |
187187
| --verbosity | 日志级别,0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE |
188188
| --syncmode | fast:快速同步模式,full:全同步模式 |
189-
| –-db.nogc | 开启归档模式 |
189+
| –-db.nogc | 开启归档模式,开启该开关后,节点数据不再启用垃圾回收机制,所以CPU开销会有所降低,相应的磁盘开销会增大 |
190190
| --allow-insecure-unlock | 启用unlockAccount功能 |
191191

192192
更多参数意义通过`platon --help`命令查看。

website/i18n/zh-CN/docusaurus-plugin-content-docs/current/成为开发网验证节点.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ cd ~/platon-node/ && nohup platon --identity platon-node --datadir ./data --port
200200
| --cbft.blskey | 指定节点 bls 私钥文件 |
201201
| --verbosity | 日志级别,0: CRIT; 1: ERROR; 2: WARN; 3: INFO; 4: DEBUG; 5: TRACE |
202202
| --syncmode | fast:快速同步模式,full:全同步模式 |
203-
| –db.nogc | 开启归档模式 |
203+
| –db.nogc | 开启归档模式,开启该开关后,节点数据不再启用垃圾回收机制,所以CPU开销会有所降低,相应的磁盘开销会增大 |
204204

205205
更多参数意义通过`platon --help`命令查看。
206206

0 commit comments

Comments
 (0)