Merge pull request #9406 from lafirest/fix/max_topic_level

fix: change the defualt value of `max_topic_levels` to 128
This commit is contained in:
lafirest 2022-11-22 20:27:23 +08:00 committed by GitHub
commit f44e70a026
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 1 deletions

View File

@ -399,7 +399,7 @@ fields("mqtt") ->
sc(
range(1, 65535),
#{
default => 65535,
default => 128,
desc => ?DESC(mqtt_max_topic_levels)
}
)},

View File

@ -19,6 +19,7 @@
- Improve node name generation rules to avoid potential atom table overflow risk [#9387](https://github.com/emqx/emqx/pull/9387).
- Set the default value for the maximum level of a topic to 128 [#9406](https://github.com/emqx/emqx/pull/9406).
## Bug fixes

View File

@ -17,6 +17,8 @@
- 改进了节点名称生成规则,以避免潜在的原子表溢出风险 [#9387](https://github.com/emqx/emqx/pull/9387)。
- 将主题的最大层级限制的默认值设置为128 [#9406](https://github.com/emqx/emqx/pull/9406)。
## 修复
- 修复 helm chart 的 `ssl.existingName` 选项不起作用 [#9307](https://github.com/emqx/emqx/issues/9307)。