diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2019-06-04 18:05:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 18:05:06 +0100 |
commit | dae224a73f6a799718f7dfc5c6d8ac3e050fca1d (patch) | |
tree | 392e864a4fc70d3625b5e5211d2782cad3416d82 /synapse/federation/federation_client.py | |
parent | Rename get_events->get_events_from_store_or_dest (#5344) (diff) | |
download | synapse-dae224a73f6a799718f7dfc5c6d8ac3e050fca1d.tar.xz |
Fix failure to fetch batches of PDUs (#5342)
FederationClient.get_pdu is called in a loop to fetch a batch of PDUs. A failure to fetch one should not result in a failure of the whole batch. Add the missing `continue`.
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/federation_client.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/federation_client.py b/synapse/federation/federation_client.py index 916ff487c9..d559605382 100644 --- a/synapse/federation/federation_client.py +++ b/synapse/federation/federation_client.py @@ -279,6 +279,7 @@ class FederationClient(FederationBase): "Failed to get PDU %s from %s because %s", event_id, destination, e, ) + continue except NotRetryingDestination as e: logger.info(str(e)) continue |