From 0d3da210f01bb323aa7348a16fa3d19c5b8e1f0e Mon Sep 17 00:00:00 2001 From: Erik Johnston Date: Tue, 12 Apr 2016 11:54:41 +0100 Subject: Add comment --- synapse/handlers/federation.py | 1 + 1 file changed, 1 insertion(+) (limited to 'synapse') diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py index a38300ec6a..654fd3829f 100644 --- a/synapse/handlers/federation.py +++ b/synapse/handlers/federation.py @@ -294,6 +294,7 @@ class FederationHandler(BaseHandler): extremities=extremities, ) + # Don't bother processing events we already have. seen_events = yield self.store.have_events_in_timeline( set(e.event_id for e in events) ) -- cgit 1.4.1