summary refs log tree commit diff
path: root/synapse/federation/federation_server.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-30 10:48:47 +0000
committerErik Johnston <erik@matrix.org>2015-01-30 10:48:47 +0000
commitc1d860870b418b9583078022d0babe557b73760f (patch)
treea74072d126158148c953adc8cbd7992ce857aa04 /synapse/federation/federation_server.py
parentFix bug where we changes in outlier in metadata dict propogated to other events (diff)
downloadsynapse-c1d860870b418b9583078022d0babe557b73760f.tar.xz
Fix regression where we no longer correctly handled the case of gaps in our event graph
Diffstat (limited to 'synapse/federation/federation_server.py')
-rw-r--r--synapse/federation/federation_server.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index 8cff4e6472..845a07a3a3 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -366,10 +366,13 @@ class FederationServer(object):
                                 logger.debug("Processed pdu %s", event_id)
                             else:
                                 logger.warn("Failed to get PDU %s", event_id)
+                                fetch_state = True
                         except:
                             # TODO(erikj): Do some more intelligent retries.
                             logger.exception("Failed to get PDU")
                             fetch_state = True
+            else:
+                fetch_state = True
         else:
             fetch_state = True