diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-08-20 13:18:43 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-08-20 13:18:43 +0100 |
| commit | 97aab5103d236218d96e0e3bac5372379350365a (patch) | |
| tree | fad6de8357893f0c8e2a9a08ade312379f7338ed /src | |
| parent | d120950af98a08ccc7cf3a5b609240e00f155ba6 (diff) | |
| download | rabbitmq-server-git-97aab5103d236218d96e0e3bac5372379350365a.tar.gz | |
call/2 -> call/3.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 9da6ac448c..418653dfb0 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -164,9 +164,10 @@ declare_fast_reply_to(<<"amq.rabbitmq.reply-to">>) -> declare_fast_reply_to(<<"amq.rabbitmq.reply-to.", Rest/binary>>) -> case decode_fast_reply_to(Rest) of {ok, Pid, Key} -> + Msg = {declare_fast_reply_to, Key}, rabbit_misc:with_exit_handler( rabbit_misc:const(not_found), - fun() -> gen_server2:call(Pid, {declare_fast_reply_to, Key}) end); + fun() -> gen_server2:call(Pid, Msg, infinity) end); error -> not_found end; |
