aboutsummaryrefslogtreecommitdiffstats
path: root/priv/templates/nodetool.dtl
diff options
context:
space:
mode:
authorDavid N. Welton <[email protected]>2014-07-17 15:15:27 +0200
committerDavid N. Welton <[email protected]>2014-07-17 15:15:27 +0200
commitc22d1e405aa881f5bb01085f8a1784bb3af174ac (patch)
tree422eae3d8bb6aaeebca84aa49631f474ee65b14d /priv/templates/nodetool.dtl
parent83678a116e6178cd870720c354ca79a4a9b3c853 (diff)
downloadrelx-c22d1e405aa881f5bb01085f8a1784bb3af174ac.tar.gz
relx-c22d1e405aa881f5bb01085f8a1784bb3af174ac.tar.bz2
relx-c22d1e405aa881f5bb01085f8a1784bb3af174ac.zip
Get tick time in order to 'synchronize' with the node we are connecting with.
Having a different net_ticktime than the remote node will lead to odd shell crashes. Fixes #209
Diffstat (limited to 'priv/templates/nodetool.dtl')
-rw-r--r--priv/templates/nodetool.dtl2
1 files changed, 1 insertions, 1 deletions
diff --git a/priv/templates/nodetool.dtl b/priv/templates/nodetool.dtl
index 80f1965..2f46395 100644
--- a/priv/templates/nodetool.dtl
+++ b/priv/templates/nodetool.dtl
@@ -42,7 +42,7 @@ main(Args) ->
_ ->
halt(1)
end;
- ["rpcterms", Module, Function, ArgsAsString] ->
+ ["rpcterms", Module, Function | ArgsAsString] ->
case rpc:call(TargetNode, list_to_atom(Module), list_to_atom(Function),
consult(ArgsAsString), 60000) of
{badrpc, Reason} ->