From 274d279575f6bda2024fec799ae47b98058ff05d Mon Sep 17 00:00:00 2001 From: Phil Yang Date: Tue, 24 Nov 2015 02:40:34 +0800 Subject: [PATCH] only handle latest action --- pkg/proxy/proxy.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/proxy/proxy.go b/pkg/proxy/proxy.go index 2de5487ac..79cd50b6b 100644 --- a/pkg/proxy/proxy.go +++ b/pkg/proxy/proxy.go @@ -407,7 +407,8 @@ func (s *Server) processAction(e interface{}) { for i, seq := range seqs { if s.lastActionSeq < seq { index = i - break + //break + //only handle latest action } }