chore: update changes

This commit is contained in:
JianBo He 2024-01-12 16:47:58 +08:00
parent 944137ad45
commit 81209e0ded
2 changed files with 3 additions and 1 deletions

View File

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

View File

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