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

Commit

Permalink
fixup: run formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Quah committed Mar 29, 2023
1 parent ba1d144 commit 0a9df6f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion synapse/handlers/federation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1960,7 +1960,9 @@ async def _sync_partial_state_room(
except FederationPullAttemptBackoffError as e:
# We are in the backoff period for one of the event's
# prev_events. Wait it out and try again after.
logger.warning("%s; waiting for %d ms...", e, e.retry_after_ms)
logger.warning(
"%s; waiting for %d ms...", e, e.retry_after_ms
)
await self.clock.sleep(e.retry_after_ms / 1000)

# Success, no need to try the rest of the destinations.
Expand Down

0 comments on commit 0a9df6f

Please sign in to comment.