Skip to content

Commit

Permalink
chore: why we should ingore save kernel app env when init
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongwencool committed Jan 13, 2023
1 parent 1fe0061 commit 588140b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/emqx/src/emqx_config.erl
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,8 @@ save_configs(AppEnvs, Conf, RawConf, OverrideConf, Opts) ->
save_to_app_env(AppEnvs),
save_to_config_map(Conf, RawConf).

%% we ignore kernel app env,
%% because the old app env will be used in emqx_config_logger:post_config_update/5
-define(IGNORE_APPS, [kernel]).

-spec save_to_app_env([tuple()]) -> ok.
Expand Down

0 comments on commit 588140b

Please sign in to comment.