From 771164b82fcc3976851c1543e4ac81813cd53ea1 Mon Sep 17 00:00:00 2001 From: Scott Lystig Fritchie Date: Sun, 30 Aug 2015 00:50:23 +0900 Subject: [PATCH] Bugfix: Flapping manifesto, leaving #2: only if not me --- src/machi_chain_manager1.erl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/machi_chain_manager1.erl b/src/machi_chain_manager1.erl index 2e443d4..a510fd9 100644 --- a/src/machi_chain_manager1.erl +++ b/src/machi_chain_manager1.erl @@ -2368,7 +2368,9 @@ calculate_flaps(P_newprop, P_latest, _P_current, CurrentUp, _FlapLimit, %% latest proj flapping & flapping last time ?REACT({calculate_flaps,?LINE,[]}), false; - {0=Curtime, 0} when P_latest_LastStartTime /= undefined, + {0=Curtime, 0} when P_latest#projection_v1.author_server + /= MyName, + P_latest_LastStartTime /= undefined, P_latest_LastStartTime /= ?NOT_FLAPPING_START -> ?REACT({calculate_flaps,?LINE,