diff --git a/rel/reltool.config b/rel/reltool.config index 13cf30d65..850e82def 100644 --- a/rel/reltool.config +++ b/rel/reltool.config @@ -13,6 +13,9 @@ syntax_tools, elog, compiler, + gs, + runtime_tools, + appmon, {folsom, load}, emqtt ]}, @@ -37,6 +40,9 @@ {app, goldrush, [{incl_cond, include}]}, {app, lager, [{incl_cond, include}]}, {app, elog, [{incl_cond, include}]}, + {app, gs, [{incl_cond, include}]}, + {app, runtime_tools, [{incl_cond, include}]}, + {app, appmon, [{incl_cond, include}]}, {app, syntax_tools, [{incl_cond, include}]}, {app, folsom, [{incl_cond, include}]}, {app, emqtt, [{mod_cond, app}, {incl_cond, include}]} diff --git a/src/emqtt_router.erl b/src/emqtt_router.erl index d557ee05d..c05d8249d 100644 --- a/src/emqtt_router.erl +++ b/src/emqtt_router.erl @@ -79,7 +79,6 @@ match(Topic) when is_list(Topic) -> lists:flatten([mnesia:dirty_read(topic, Name) || Name <- Names]). %TODO: this api is really ugly - down(Client) when is_pid(Client) -> gen_server2:cast(?MODULE, {down, Client}). @@ -240,3 +239,4 @@ trie_delete_path([{NodeId, Word, _} | RestPath]) -> throw({notfound, NodeId}) end. +