chore: update the change log for #9725

This commit is contained in:
Shawn 2023-01-11 21:30:20 +08:00
parent 6f0e228a9b
commit bf259e360a
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,11 @@
Remove the config `auto_reconnect` from the emqx_authz, emqx_authn and data-bridge componets.
This is because we have another config with similar functions: `resource_opts.auto_restart_interval`
The functions of these two config are difficult to distinguish, which will lead to confusion.
After this change, `auto_reconnect` will not be configurable (always be true), and the underlying
drivers that support this config will automatically reconnect the abnormally disconnected
connection every `2s`.
And the config `resource_opts.auto_restart_interval` is still available for user.
It is the time interval that emqx restarts the resource when the connection cannot be
established for some reason.

View File

@ -0,0 +1,8 @@
从认证、鉴权和数据桥接功能中,删除 `auto_reconnect` 配置项,因为我们还有另一个功能类似的配置项:
`resource_opts.auto_restart_interval`
这两个配置项的功能难以区分,会导致困惑。此修改之后,`auto_reconnect` 将不可配置(永远为 true)
支持此配置的底层驱动将以 `2s` 为周期自动重连异常断开的连接。
`resource_opts.auto_restart_interval` 配置项仍然开放给用户配置,它是资源因为某些原因
无法建立连接的时候emqx 重新启动该资源的时间间隔。