diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-23 11:10:36 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-23 12:23:22 +0000 |
commit | 5a16cb4bf036c6b1914d6c6248ed640c289b59e3 (patch) | |
tree | 10fd4e468223f0a47e273905d7ed83a297559ee2 /synapse/handlers/directory.py | |
parent | push federation retry limiter down to matrixfederationclient (diff) | |
download | synapse-5a16cb4bf036c6b1914d6c6248ed640c289b59e3.tar.xz |
Ignore backoff history for invites, aliases, and roomdirs
Add a param to the federation client which lets us ignore historical backoff data for federation queries, and set it for a handful of operations.
Diffstat (limited to 'synapse/handlers/directory.py')
-rw-r--r-- | synapse/handlers/directory.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/handlers/directory.py b/synapse/handlers/directory.py index 1b5317edf5..943554ce98 100644 --- a/synapse/handlers/directory.py +++ b/synapse/handlers/directory.py @@ -175,6 +175,7 @@ class DirectoryHandler(BaseHandler): "room_alias": room_alias.to_string(), }, retry_on_dns_fail=False, + ignore_backoff=True, ) except CodeMessageException as e: logging.warn("Error retrieving alias") |