Merge pull request #5476 from k32/fix-auth-init-order

fix(rlog): Ensure the correct order of table initalization
This commit is contained in:
tigercl 2021-08-13 13:49:06 +08:00 committed by GitHub
commit e73df538a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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"]},