mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 03:20:52 +00:00
Fix exception when resetting retry timings
Fixes: > TypeError: set_destination_retry_timings() missing 1 required positional argument: 'retry_interval' Introduced in #6016.
This commit is contained in:
parent
aeb40f355c
commit
9d94313209
2 changed files with 2 additions and 1 deletions
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):
|
async def _reset_retry_timings(self, origin):
|
||||||
try:
|
try:
|
||||||
logger.info("Marking origin %r as up", origin)
|
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:
|
except Exception:
|
||||||
logger.exception("Error resetting retry timings on %s", origin)
|
logger.exception("Error resetting retry timings on %s", origin)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue