fix: emqx_auto_subscribe emqx_slow_subs don't restart when ekka:join.

This commit is contained in:
Zhongwen Deng 2022-04-15 20:52:14 +08:00
parent deb64bbbdc
commit 868e26cabc
4 changed files with 36 additions and 28 deletions

View File

@ -1,16 +1,17 @@
%% -*- mode: erlang -*-
{application, emqx_auto_subscribe,
[{description, "An OTP application"},
{vsn, "0.1.0"},
{registered, []},
{mod, {emqx_auto_subscribe_app, []}},
{applications,
[kernel,
stdlib
]},
{env,[]},
{modules, []},
{application, emqx_auto_subscribe, [
{description, "An OTP application"},
{vsn, "0.1.0"},
{registered, []},
{mod, {emqx_auto_subscribe_app, []}},
{applications, [
kernel,
stdlib,
emqx
]},
{env, []},
{modules, []},
{licenses, ["Apache 2.0"]},
{links, []}
]}.
{licenses, ["Apache 2.0"]},
{links, []}
]}.

View File

@ -1,12 +1,13 @@
{application, emqx_slow_subs,
[{description, "EMQX Slow Subscribers Statistics"},
{vsn, "1.0.0"}, % strict semver, bump manually!
{modules, []},
{registered, [emqx_slow_subs_sup]},
{applications, [kernel,stdlib]},
{mod, {emqx_slow_subs_app,[]}},
{env, []},
{licenses, ["Apache-2.0"]},
{maintainers, ["EMQX Team <contact@emqx.io>"]},
{links, []}
]}.
{application, emqx_slow_subs, [
{description, "EMQX Slow Subscribers Statistics"},
% strict semver, bump manually!
{vsn, "1.0.0"},
{modules, []},
{registered, [emqx_slow_subs_sup]},
{applications, [kernel, stdlib, emqx]},
{mod, {emqx_slow_subs_app, []}},
{env, []},
{licenses, ["Apache-2.0"]},
{maintainers, ["EMQX Team <contact@emqx.io>"]},
{links, []}
]}.

View File

@ -145,6 +145,8 @@ defmodule EMQXUmbrella.MixProject do
:emqx_statsd,
:emqx_retainer,
:emqx_prometheus,
:emqx_auto_subscribe,
:emqx_slow_subs,
:emqx_plugins
],
steps: steps,
@ -230,7 +232,9 @@ defmodule EMQXUmbrella.MixProject do
:emqx_exhook,
:emqx_authn,
:emqx_authz,
:emqx_plugin
:emqx_auto_subscribe,
:emqx_slow_subs,
:emqx_plugins
]
end

View File

@ -385,7 +385,9 @@ emqx_machine_boot_apps(ce) ->
, emqx_exhook
, emqx_authn
, emqx_authz
, emqx_plugin
, emqx_slow_subs
, emqx_auto_subscribe
, emqx_plugins
];
emqx_machine_boot_apps(ee) ->