diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2013-04-29 16:55:31 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2013-04-29 16:55:31 +0100 |
| commit | 13080927daa79f895f2d907ee094b5ce95395fc7 (patch) | |
| tree | e2032c2af39a40ebd7c5c8650561224d30259c33 /src/gm.erl | |
| parent | d8b1eed89dbf13485e197257c2af75b0522ec661 (diff) | |
| parent | e96e33e405974fd83dc36a35b03353c0915b22c4 (diff) | |
| download | rabbitmq-server-git-13080927daa79f895f2d907ee094b5ce95395fc7.tar.gz | |
stable to default
Diffstat (limited to 'src/gm.erl')
| -rw-r--r-- | src/gm.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gm.erl b/src/gm.erl index 76b535e696..3f0909e865 100644 --- a/src/gm.erl +++ b/src/gm.erl @@ -380,7 +380,7 @@ confirmed_broadcast/2, info/1, forget_group/1]). -export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, - code_change/3, prioritise_info/2]). + code_change/3, prioritise_info/3]). -ifndef(use_specs). -export([behaviour_info/1]). @@ -721,12 +721,12 @@ terminate(Reason, State = #state { module = Module, code_change(_OldVsn, State, _Extra) -> {ok, State}. -prioritise_info(flush, _State) -> +prioritise_info(flush, _Len, _State) -> 1; -prioritise_info({'DOWN', _MRef, process, _Pid, _Reason}, +prioritise_info({'DOWN', _MRef, process, _Pid, _Reason}, _Len, #state { members_state = MS }) when MS /= undefined -> 1; -prioritise_info(_, _State) -> +prioritise_info(_, _Len, _State) -> 0. |
