]> granicus.if.org Git - ejabberd/commitdiff
Allow longer command execution time 15.11
authorChristophe Romain <christophe.romain@process-one.net>
Fri, 20 Nov 2015 08:57:55 +0000 (09:57 +0100)
committerChristophe Romain <christophe.romain@process-one.net>
Fri, 20 Nov 2015 09:39:32 +0000 (10:39 +0100)
src/ejabberd_ctl.erl

index 70e17b4133dfa884b421c5e01f4a44e37c96f12b..ec916b32b54e94a51be8cbd99732295be6dfa9aa 100644 (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]),