fix: emqx_auto_subscribe emqx_slow_subs don't restart when ekka:join.
This commit is contained in:
parent
deb64bbbdc
commit
868e26cabc
|
@ -1,16 +1,17 @@
|
||||||
%% -*- mode: erlang -*-
|
%% -*- mode: erlang -*-
|
||||||
{application, emqx_auto_subscribe,
|
{application, emqx_auto_subscribe, [
|
||||||
[{description, "An OTP application"},
|
{description, "An OTP application"},
|
||||||
{vsn, "0.1.0"},
|
{vsn, "0.1.0"},
|
||||||
{registered, []},
|
{registered, []},
|
||||||
{mod, {emqx_auto_subscribe_app, []}},
|
{mod, {emqx_auto_subscribe_app, []}},
|
||||||
{applications,
|
{applications, [
|
||||||
[kernel,
|
kernel,
|
||||||
stdlib
|
stdlib,
|
||||||
|
emqx
|
||||||
]},
|
]},
|
||||||
{env,[]},
|
{env, []},
|
||||||
{modules, []},
|
{modules, []},
|
||||||
|
|
||||||
{licenses, ["Apache 2.0"]},
|
{licenses, ["Apache 2.0"]},
|
||||||
{links, []}
|
{links, []}
|
||||||
]}.
|
]}.
|
||||||
|
|
|
@ -1,12 +1,13 @@
|
||||||
{application, emqx_slow_subs,
|
{application, emqx_slow_subs, [
|
||||||
[{description, "EMQX Slow Subscribers Statistics"},
|
{description, "EMQX Slow Subscribers Statistics"},
|
||||||
{vsn, "1.0.0"}, % strict semver, bump manually!
|
% strict semver, bump manually!
|
||||||
|
{vsn, "1.0.0"},
|
||||||
{modules, []},
|
{modules, []},
|
||||||
{registered, [emqx_slow_subs_sup]},
|
{registered, [emqx_slow_subs_sup]},
|
||||||
{applications, [kernel,stdlib]},
|
{applications, [kernel, stdlib, emqx]},
|
||||||
{mod, {emqx_slow_subs_app,[]}},
|
{mod, {emqx_slow_subs_app, []}},
|
||||||
{env, []},
|
{env, []},
|
||||||
{licenses, ["Apache-2.0"]},
|
{licenses, ["Apache-2.0"]},
|
||||||
{maintainers, ["EMQX Team <contact@emqx.io>"]},
|
{maintainers, ["EMQX Team <contact@emqx.io>"]},
|
||||||
{links, []}
|
{links, []}
|
||||||
]}.
|
]}.
|
||||||
|
|
6
mix.exs
6
mix.exs
|
@ -145,6 +145,8 @@ defmodule EMQXUmbrella.MixProject do
|
||||||
:emqx_statsd,
|
:emqx_statsd,
|
||||||
:emqx_retainer,
|
:emqx_retainer,
|
||||||
:emqx_prometheus,
|
:emqx_prometheus,
|
||||||
|
:emqx_auto_subscribe,
|
||||||
|
:emqx_slow_subs,
|
||||||
:emqx_plugins
|
:emqx_plugins
|
||||||
],
|
],
|
||||||
steps: steps,
|
steps: steps,
|
||||||
|
@ -230,7 +232,9 @@ defmodule EMQXUmbrella.MixProject do
|
||||||
:emqx_exhook,
|
:emqx_exhook,
|
||||||
:emqx_authn,
|
:emqx_authn,
|
||||||
:emqx_authz,
|
:emqx_authz,
|
||||||
:emqx_plugin
|
:emqx_auto_subscribe,
|
||||||
|
:emqx_slow_subs,
|
||||||
|
:emqx_plugins
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -385,7 +385,9 @@ emqx_machine_boot_apps(ce) ->
|
||||||
, emqx_exhook
|
, emqx_exhook
|
||||||
, emqx_authn
|
, emqx_authn
|
||||||
, emqx_authz
|
, emqx_authz
|
||||||
, emqx_plugin
|
, emqx_slow_subs
|
||||||
|
, emqx_auto_subscribe
|
||||||
|
, emqx_plugins
|
||||||
];
|
];
|
||||||
|
|
||||||
emqx_machine_boot_apps(ee) ->
|
emqx_machine_boot_apps(ee) ->
|
||||||
|
|
Loading…
Reference in New Issue