diff options
author | Richard van der Hoff <richard@matrix.org> | 2019-09-20 12:05:00 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2019-09-20 12:09:39 +0100 |
commit | 9d94313209fdb2141189c927cb1f81fea6feb5e4 (patch) | |
tree | b099752578112abc6f1b58aadbab47454bfe4417 /synapse/federation/transport | |
parent | Ensure email validation link parameters are URL-encoded (#6063) (diff) | |
download | synapse-9d94313209fdb2141189c927cb1f81fea6feb5e4.tar.xz |
Fix exception when resetting retry timings
Fixes: > TypeError: set_destination_retry_timings() missing 1 required positional argument: 'retry_interval' Introduced in #6016.
Diffstat (limited to 'synapse/federation/transport')
-rw-r--r-- | synapse/federation/transport/server.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index 7dc696c7ae..7f8a16e355 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -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) |