diff options
| -rw-r--r-- | src/rabbit_control_main.erl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/rabbit_control_main.erl b/src/rabbit_control_main.erl index 5a0ce17441..822608f50e 100644 --- a/src/rabbit_control_main.erl +++ b/src/rabbit_control_main.erl @@ -478,7 +478,12 @@ action(eval, Node, [Expr], _Opts, _Inform) -> end; {error, E, _} -> {error_string, format_parse_error(E)} - end. + end; + +action(Command, Node, Args, Opts, Inform) -> + %% For backward compatibility, run commands accepting a timeout with + %% the default timeout. + action(Command, Node, Args, Opts, Inform, ?RPC_TIMEOUT). action(list_users, Node, [], _Opts, Inform, Timeout) -> Inform("Listing users", []), |
