summary refs log tree commit diff
path: root/synapse/http/matrixfederationclient.py
diff options
context:
space:
mode:
authorRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2020-09-28 13:15:00 +0100
committerGitHub <noreply@github.com>2020-09-28 13:15:00 +0100
commit450ec4844599b6f06ff6c699a8edc067fa7d4217 (patch)
tree669f8acfd880ac1ce7ab476c9416a31f6c181bf2 /synapse/http/matrixfederationclient.py
parenttypo (diff)
downloadsynapse-450ec4844599b6f06ff6c699a8edc067fa7d4217.tar.xz
A pair of tiny cleanups in the federation request code. (#8401)
Diffstat (limited to 'synapse/http/matrixfederationclient.py')
-rw-r--r--synapse/http/matrixfederationclient.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 3c86cbc546..b02c74ab2d 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -473,8 +473,6 @@ class MatrixFederationHttpClient:
                             )
 
                             response = await request_deferred
-                    except TimeoutError as e:
-                        raise RequestSendFailed(e, can_retry=True) from e
                     except DNSLookupError as e:
                         raise RequestSendFailed(e, can_retry=retry_on_dns_fail) from e
                     except Exception as e: