summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@lshift.net>2008-11-19 11:21:45 +0000
committerMatthias Radestock <matthias@lshift.net>2008-11-19 11:21:45 +0000
commit4592f45b4b84f4190800fc9ec6f32a497655bc0a (patch)
treea6435f36dab8db8f815287e69bf1b3f9f21313b5
parent843198a43d65383d4c3b815093e7b222bc9320ab (diff)
parentf10aec0591d03755f32b7df3e0c4ff7ff99b86f4 (diff)
downloadrabbitmq-server-4592f45b4b84f4190800fc9ec6f32a497655bc0a.tar.gz
merge bug19573 into default
-rw-r--r--src/rabbit_amqqueue_process.erl4
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]),