summary refs log tree commit diff
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-25 15:21:05 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-25 15:21:05 +0000
commitc1700df2d737a074632cd2694b2d5639d7d1a257 (patch)
tree41fc27f8b6986ed5a9e2c29b6968833fa6face41
parentAllow HS to send emails when adding an email to the HS (#6042) (diff)
parentMerge pull request #6072 from matrix-org/rav/fix_retry_reset (diff)
downloadsynapse-c1700df2d737a074632cd2694b2d5639d7d1a257.tar.xz
Merge pull request #6072 from matrix-org/rav/fix_retry_reset
-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)