mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Merge pull request #6072 from matrix-org/rav/fix_retry_reset
Fix exception when resetting retry timings
This commit is contained in:
commit
0660f8e367
1
changelog.d/6072.misc
Normal file
1
changelog.d/6072.misc
Normal file
@ -0,0 +1 @@
|
||||
Add a 'failure_ts' column to the 'destinations' database table.
|
@ -165,7 +165,7 @@ class Authenticator(object):
|
||||
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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user