@@ -196,4 +196,4 @@ is_succeed_result(Result) ->
end.
format_error_reason(Term) ->
- iolist_to_binary(io_lib:format("~p", [Msg])).
+ iolist_to_binary(io_lib:format("~p", [Term])).
@@ -1,2 +1,4 @@
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.
+
+Add a new endpoint `/cluster/:node/invite_async` to support an asynchronous way to invite nodes to join the cluster.