diff options
| author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2023-03-30 13:36:41 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-30 13:36:41 +0100 |
| commit | d9f694932c64d68e791ecb4c860e911e21a0baeb (patch) | |
| tree | 31af566215c68a1194706f488a09a098a2335cea /synapse/api/errors.py | |
| parent | Add the ability to enable/disable registrations when in the OIDC flow (#14978) (diff) | |
| download | synapse-d9f694932c64d68e791ecb4c860e911e21a0baeb.tar.xz | |
Fix spinloop during partial state sync when a prev event is in backoff (#15351)
Previously, we would spin in a tight loop until `update_state_for_partial_state_event` stopped raising `FederationPullAttemptBackoffError`s. Replace the spinloop with a wait until the backoff period has expired. Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'synapse/api/errors.py')
| -rw-r--r-- | synapse/api/errors.py | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/synapse/api/errors.py b/synapse/api/errors.py |
