summaryrefslogtreecommitdiff
path: root/src/gm.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gm.erl')
-rw-r--r--src/gm.erl6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gm.erl b/src/gm.erl
index 6a2c9c4876..baf46471c6 100644
--- a/src/gm.erl
+++ b/src/gm.erl
@@ -377,7 +377,7 @@
confirmed_broadcast/2, group_members/1]).
-export([init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2,
- code_change/3]).
+ code_change/3, prioritise_info/2]).
-export([behaviour_info/1]).
@@ -658,6 +658,10 @@ code_change(_OldVsn, State, _Extra) ->
{ok, State}.
+prioritise_info({'DOWN', _MRef, process, _Pid, _Reason}, _State) -> 1;
+prioritise_info(_ , _State) -> 0.
+
+
handle_msg(check_neighbours, State) ->
%% no-op - it's already been done by the calling handle_cast
{ok, State};