Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Romain <christophe.romain@process-one.net>2015-11-20 11:57:55 +0300
committerChristophe Romain <christophe.romain@process-one.net>2015-11-20 12:39:32 +0300
commitb4ae1b63bc18686ed231956737e3c847fdbbc45e (patch)
tree899218e5030037b65da773f388dcc8a871f3dfe0
parent67a70b9107a051209a58ad332b23a0aaa424359c (diff)
Allow longer command execution time15.11
-rw-r--r--src/ejabberd_ctl.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_ctl.erl b/src/ejabberd_ctl.erl
index 70e17b413..ec916b32b 100644
--- a/src/ejabberd_ctl.erl
+++ b/src/ejabberd_ctl.erl
@@ -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]),