Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
reverting use of rpc on critical path
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Alexandru Ionescu committed Jan 27, 2011
1 parent 97eaa02 commit 6f7e1e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amqp_channel.erl
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ handle_info({send_command, Method, Content}, State) ->
%% @private
handle_info({send_command_and_notify, Q, ChPid, Method, Content}, State) ->
handle_method_from_server(Method, Content, State),
rpc:call(node(ChPid), rabbit_amqqueue, notify_sent, [Q, ChPid]),
rabbit_amqqueue:notify_sent(Q, ChPid),
{noreply, State};
%% This comes from the writer or rabbit_channel
%% @private
Expand Down

0 comments on commit 6f7e1e9

Please sign in to comment.