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

Allow longer command execution time

This commit is contained in:
Christophe Romain 2015-11-20 09:57:55 +01:00
parent 67a70b9107
commit b4ae1b63bc

View File

@ -80,7 +80,7 @@ start() ->
end
end,
Node = list_to_atom(SNode1),
Status = case ejabberd_cluster:call(Node, ?MODULE, process, [Args]) of
Status = case rpc:call(Node, ?MODULE, process, [Args], 60000) of
{badrpc, Reason} ->
print("Failed RPC connection to the node ~p: ~p~n",
[Node, Reason]),