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 | |
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.
-rw-r--r-- | changelog.d/6072.misc | 1 | ||||
-rw-r--r-- | synapse/federation/transport/server.py | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/changelog.d/6072.misc b/changelog.d/6072.misc new file mode 100644 index 0000000000..91cf164714 --- /dev/null +++ b/changelog.d/6072.misc @@ -0,0 +1 @@ +Add a 'failure_ts' column to the 'destinations' database table. 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) |