mirror of
https://github.com/processone/ejabberd.git
synced 2024-07-06 23:22:36 +02:00
Change a loglevel of the set_lock message
This commit is contained in:
parent
6563267055
commit
290432c0ee
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user