Przeglądaj źródła

chore: update changes

JianBo He 2 lat temu
rodzic
commit
81209e0ded

+ 1 - 1
apps/emqx_management/src/emqx_mgmt_cluster.erl

@@ -196,4 +196,4 @@ is_succeed_result(Result) ->
     end.
     end.
 
 
 format_error_reason(Term) ->
 format_error_reason(Term) ->
-    iolist_to_binary(io_lib:format("~p", [Msg])).
+    iolist_to_binary(io_lib:format("~p", [Term])).

+ 2 - 0
changes/ce/feat-12267.en.md

@@ -1,2 +1,4 @@
 Add a new `timeout` parameter to the `cluster/:node/invite` interface.
 Add a new `timeout` parameter to the `cluster/:node/invite` interface.
 Previously the default timeout was 5s which would often be caused by HTTP API calls due to emqx taking too long to join cluster.
 Previously the default timeout was 5s which would often be caused by HTTP API calls due to emqx taking too long to join cluster.
+
+Add a new endpoint `/cluster/:node/invite_async` to support an asynchronous way to invite nodes to join the cluster.