summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/6072.misc1
-rw-r--r--synapse/config/repository.py2
-rw-r--r--synapse/config/workers.py2
-rw-r--r--synapse/federation/transport/server.py2
4 files changed, 4 insertions, 3 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/config/repository.py b/synapse/config/repository.py
index 889ece1dec..6db54a932d 100644 --- a/synapse/config/repository.py +++ b/synapse/config/repository.py
@@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2014, 2015 matrix.org +# Copyright 2014, 2015 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/synapse/config/workers.py b/synapse/config/workers.py
index bc0fc165e3..1ec4998625 100644 --- a/synapse/config/workers.py +++ b/synapse/config/workers.py
@@ -1,5 +1,5 @@ # -*- coding: utf-8 -*- -# Copyright 2016 matrix.org +# Copyright 2016 OpenMarket Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. 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)