24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-07-14 23:44:18 +02:00

Initialize cluster before modules start

This commit is contained in:
Evgeniy Khramtsov 2011-02-16 19:14:08 +09:00
parent 658ab235ba
commit 24e033ac79

View File

@ -67,8 +67,8 @@ start(normal, _Args) ->
%ejabberd_debug:eprof_start(),
%ejabberd_debug:fprof_start(),
maybe_add_nameservers(),
start_modules(),
{ok, Pid} = ejabberd_cluster:start(),
start_modules(),
ejabberd_cluster:announce(Pid),
ejabberd_node_groups:start(),
ejabberd_listener:start_listeners(),