Explorar el Código

chore: remove unuse code

Zhongwen Deng hace 2 años
padre
commit
60677bc400

+ 0 - 1
apps/emqx_management/src/emqx_mgmt_api_configs.erl

@@ -49,7 +49,6 @@
         <<"authorization">>,
         <<"authentication">>,
         <<"rpc">>,
-        <<"db">>,
         <<"connectors">>,
         <<"slow_subs">>,
         <<"psk_authentication">>,

+ 0 - 12
apps/emqx_plugins/src/emqx_plugins_sup.erl

@@ -26,18 +26,6 @@ start_link() ->
     supervisor:start_link({local, ?MODULE}, ?MODULE, []).
 
 init([]) ->
-    %% TODO: Add monitor plugins change.
-    Monitor = emqx_plugins_monitor,
-    _Children = [
-        #{
-            id => Monitor,
-            start => {Monitor, start_link, []},
-            restart => permanent,
-            shutdown => brutal_kill,
-            type => worker,
-            modules => [Monitor]
-        }
-    ],
     SupFlags =
         #{
             strategy => one_for_one,