Skip to content

Commit

Permalink
Merge pull request #231 from keynslug/ft/drop-mnesia-boot-phase
Browse files Browse the repository at this point in the history
refactor: disable mnesia boot phase altogether
  • Loading branch information
keynslug authored Feb 16, 2024
2 parents b1e34d8 + de43216 commit 1ffc0bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ekka.erl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ start() ->
ekka_boot:register_mria_callbacks(),
{ok, _Apps} = application:ensure_all_started(ekka),
?tp(info, "Ekka is running", #{}),
ekka_boot:create_tables(),
%% NOTE
%% Ekka doesn't run a separate "mnesia boot" phase anymore. Users are
%% advised to manage tables explicitly by themselves as part of
%% applications' startup routines.
%% See also: `ekka_boot:create_tables/0`
ekka:exec_callback(start),
ok.

Expand Down

0 comments on commit 1ffc0bc

Please sign in to comment.