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

Change a loglevel of the set_lock message

This commit is contained in:
Evgeniy Khramtsov 2012-02-13 23:44:00 +10:00
parent 6563267055
commit 290432c0ee

View File

@ -125,12 +125,12 @@ init([]) ->
handle_call(announce, _From, State) ->
case global:set_lock(?LOCK, get_nodes(), 0) of
false ->
?INFO_MSG("Another node is recently attached to "
"the cluster and is being rebalanced. "
"Waiting for the rebalancing to be completed "
"before starting this node. "
"This may take serveral minutes. "
"Please, be patient.", []),
?WARNING_MSG("Another node is recently attached to "
"the cluster and is being rebalanced. "
"Waiting for the rebalancing to be completed "
"before starting this node. "
"This may take serveral minutes. "
"Please, be patient.", []),
global:set_lock(?LOCK, get_nodes(), infinity);
true ->
ok