25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +01:00

Start mnesia as a permanent application (thanks to Brian Cully)(EJAB-1068)

SVN Revision: 2674
This commit is contained in:
Badlop 2009-10-19 10:42:19 +00:00
parent 162fbc2ef8
commit dce7b1430b

View File

@ -110,7 +110,7 @@ db_init() ->
_ -> _ ->
ok ok
end, end,
mnesia:start(), application:start(mnesia, permanent),
mnesia:wait_for_tables(mnesia:system_info(local_tables), infinity). mnesia:wait_for_tables(mnesia:system_info(local_tables), infinity).
%% Start all the modules in all the hosts %% Start all the modules in all the hosts