Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit d05d53d

Browse files
author
David Robertson
committed
Partial state resync: catch NotRetryingDestination
This means that - if we decline to retry, we'll move on to try another HS - if there are no other servers left to retry, we'll have slightly better logging
1 parent 544cc40 commit d05d53d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

synapse/handlers/federation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ async def _sync_partial_state_room(
17081708
destination, event
17091709
)
17101710
break
1711-
except FederationError as e:
1711+
except (NotRetryingDestination, FederationError) as e:
17121712
if attempt == len(destinations) - 1:
17131713
# We have tried every remote server for this event. Give up.
17141714
# TODO(faster_joins) giving up isn't the right thing to do

0 commit comments

Comments
 (0)