Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
li-xunhuan committed Aug 20, 2024
2 parents e476c34 + b98c18f commit 7ae8f10
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@ public class MqttClientProperties {
*/
private Integer timeout;
/**
* 接收数据的 buffer size,默认:8k
* 接收数据的 buffer size,默认:8KB
*/
private String readBufferSize = "8k";
private String readBufferSize = "8KB";
/**
* 消息解析最大 bytes 长度,默认:10M
* 消息解析最大 bytes 长度,默认:10MB
*/
private String maxBytesInMessage = "10M";
private String maxBytesInMessage = "10MB";
/**
* mqtt 3.1 会校验此参数为 23,为了减少问题设置成了 64
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ public class MqttServerProperties {
*/
private float keepaliveBackoff = 0.75F;
/**
* 接收数据的 buffer size,默认:8k
* 接收数据的 buffer size,默认:8KB
*/
private String readBufferSize = "8k";
private String readBufferSize = "8KB";
/**
* 消息解析最大 bytes 长度,默认:10M
* 消息解析最大 bytes 长度,默认:10MB
*/
private String maxBytesInMessage = "10M";
private String maxBytesInMessage = "10MB";
/**
* 堆内存和堆外内存
*/
Expand Down

0 comments on commit 7ae8f10

Please sign in to comment.