Skip to content

Commit 1945c7f

Browse files
committed
rabbit: Do not load configuration twice
It was already loaded in `rabbit_prelaunch` (prelaunch phase 1).
1 parent 8ce1f32 commit 1945c7f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

src/rabbit.erl

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -349,21 +349,18 @@ run_prelaunch_second_phase() ->
349349
%% 2. Feature flags registry.
350350
ok = rabbit_prelaunch_feature_flags:setup(Context),
351351

352-
%% 3. Configuration check + loading.
353-
ok = rabbit_prelaunch_conf:setup(Context),
354-
355-
%% 4. Logging.
352+
%% 3. Logging.
356353
ok = rabbit_prelaunch_logging:setup(Context),
357354

358355
case IsInitialPass of
359356
true ->
360-
%% 5. HiPE compilation.
357+
%% 4. HiPE compilation.
361358
ok = rabbit_prelaunch_hipe:setup(Context);
362359
false ->
363360
ok
364361
end,
365362

366-
%% 6. Clustering.
363+
%% 5. Clustering.
367364
ok = rabbit_prelaunch_cluster:setup(Context),
368365

369366
%% Start Mnesia now that everything is ready.

0 commit comments

Comments
 (0)