فهرست منبع

chore: update the change log for #9725

Shawn 3 سال پیش
والد
کامیت
bf259e360a
2فایلهای تغییر یافته به همراه19 افزوده شده و 0 حذف شده
  1. 11 0
      changes/v5.0.15/feat-9725.en.md
  2. 8 0
      changes/v5.0.15/feat-9725.zh.md

+ 11 - 0
changes/v5.0.15/feat-9725.en.md

@@ -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.

+ 8 - 0
changes/v5.0.15/feat-9725.zh.md

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