fix(rlog): Ensure the correct order of table initalization

This commit is contained in:
k32 2021-08-12 19:58:52 +02:00
parent 4e94858ccf
commit dfa6761e49
2 changed files with 2 additions and 2 deletions

View File

@ -27,8 +27,8 @@
]).
start(_StartType, _StartArgs) ->
{ok, Sup} = emqx_authn_sup:start_link(),
ok = ekka_rlog:wait_for_shards([?AUTH_SHARD], infinity),
{ok, Sup} = emqx_authn_sup:start_link(),
initialize(),
{ok, Sup}.

View File

@ -3,7 +3,7 @@
{vsn, "0.1.0"},
{registered, []},
{mod, {emqx_gateway_app, []}},
{applications, [kernel, stdlib, grpc, lwm2m_coap, emqx]},
{applications, [kernel, stdlib, grpc, lwm2m_coap, emqx, emqx_authn]},
{env, []},
{modules, []},
{licenses, ["Apache 2.0"]},