diff options
author | Hubert Plociniczak <hubert@lshift.net> | 2008-11-14 15:00:13 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert@lshift.net> | 2008-11-14 15:00:13 +0000 |
commit | f10aec0591d03755f32b7df3e0c4ff7ff99b86f4 (patch) | |
tree | 40b551b221418aed57245e81630f2c167e7f864a | |
parent | cc01059ec52429c321dc3a6652820959743b28ef (diff) | |
parent | 65b8792874352aedd9150cabdea2203c7b155426 (diff) | |
download | rabbitmq-server-f10aec0591d03755f32b7df3e0c4ff7ff99b86f4.tar.gz |
Merge bug19788 into default
-rw-r--r-- | src/rabbit_amqqueue_process.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue_process.erl b/src/rabbit_amqqueue_process.erl index e687df84..f8964e34 100644 --- a/src/rabbit_amqqueue_process.erl +++ b/src/rabbit_amqqueue_process.erl @@ -689,7 +689,9 @@ handle_info({'DOWN', _MonitorRef, process, DownPid, _Reason}, State) -> handle_ch_down(DownPid, State); handle_info(timeout, State) -> - {noreply, State, hibernate}; + %% TODO: Once we drop support for R11B-5, we can change this to + %% {noreply, State, hibernate}; + proc_lib:hibernate(gen_server, enter_loop, [?MODULE, [], State]); handle_info(Info, State) -> ?LOGDEBUG("Info in queue: ~p~n", [Info]), |