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

Commit

Permalink
Merge pull request #6072 from matrix-org/rav/fix_retry_reset
Browse files Browse the repository at this point in the history
Fix exception when resetting retry timings
  • Loading branch information
richvdh authored Sep 23, 2019
2 parents 7ef319a + 9d94313 commit 0660f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/6072.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add a 'failure_ts' column to the 'destinations' database table.
2 changes: 1 addition & 1 deletion synapse/federation/transport/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ async def authenticate_request(self, request, content):
async def _reset_retry_timings(self, origin):
try:
logger.info("Marking origin %r as up", origin)
await self.store.set_destination_retry_timings(origin, 0, 0)
await self.store.set_destination_retry_timings(origin, None, 0, 0)
except Exception:
logger.exception("Error resetting retry timings on %s", origin)

Expand Down

0 comments on commit 0660f8e

Please sign in to comment.