diff options
| author | David Wragg <dpw@lshift.net> | 2010-04-30 12:25:45 +0100 |
|---|---|---|
| committer | David Wragg <dpw@lshift.net> | 2010-04-30 12:25:45 +0100 |
| commit | 68c8d3a5cedacd35e87bc39bab9e4565faede0b4 (patch) | |
| tree | 32e08848acf9cb4abf995c91bc960d9f7524eaca | |
| parent | 087cdcbd0baf4bd5b064226263d25d644cda7afd (diff) | |
| download | rabbitmq-server-git-68c8d3a5cedacd35e87bc39bab9e4565faede0b4.tar.gz | |
An R12 cleanup in rabbit_persister:handle_info
| -rw-r--r-- | src/rabbit_persister.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rabbit_persister.erl b/src/rabbit_persister.erl index a8e41baf74..3cd42e4753 100644 --- a/src/rabbit_persister.erl +++ b/src/rabbit_persister.erl @@ -184,9 +184,7 @@ handle_cast(_Msg, State) -> handle_info(timeout, State = #pstate{deadline = infinity}) -> State1 = flush(true, State), - %% TODO: Once we drop support for R11B-5, we can change this to - %% {noreply, State1, hibernate}; - proc_lib:hibernate(gen_server2, enter_loop, [?MODULE, [], State1]); + {noreply, State1, hibernate}; handle_info(timeout, State) -> do_noreply(flush(State)); handle_info(_Info, State) -> |
