docs: fix emqx-broker.md
This commit is contained in:
parent
10a9413224
commit
5601729eab
|
@ -116,7 +116,7 @@ INSERT INTO test.sensor_data VALUES(
|
||||||
## 编写模拟测试程序
|
## 编写模拟测试程序
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
${{#include docs-examples/other/mock.js}}
|
{{#include docs-examples/other/mock.js}}
|
||||||
```
|
```
|
||||||
|
|
||||||
注意:代码中 CLIENT_NUM 在开始测试中可以先设置一个较小的值,避免硬件性能不能完全处理较大并发客户端数量。
|
注意:代码中 CLIENT_NUM 在开始测试中可以先设置一个较小的值,避免硬件性能不能完全处理较大并发客户端数量。
|
||||||
|
|
|
@ -108,7 +108,7 @@ Finally, click the "Create" button at bottom left corner saving the rule.
|
||||||
## Compose program to mock data
|
## Compose program to mock data
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
${{#include docs-examples/other/mock.js}}
|
{{#include docs-examples/other/mock.js}}
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: `CLIENT_NUM` in the code can be set to a smaller value at the beginning of the test to avoid hardware performance be not capable to handle a more significant number of concurrent clients.
|
Note: `CLIENT_NUM` in the code can be set to a smaller value at the beginning of the test to avoid hardware performance be not capable to handle a more significant number of concurrent clients.
|
||||||
|
|
Loading…
Reference in New Issue