2 files changed, 0 insertions, 2 deletions
diff --git a/synapse/http/client.py b/synapse/http/client.py
index 7e40c9f154..89bd403312 100644
--- a/synapse/http/client.py
+++ b/synapse/http/client.py
@@ -413,7 +413,6 @@ class SimpleHttpClient:
SpanAttributes.HTTP_METHOD: method,
SpanAttributes.HTTP_URL: uri,
},
- end_on_exit=True,
):
try:
body_producer = None
diff --git a/synapse/http/matrixfederationclient.py b/synapse/http/matrixfederationclient.py
index 5764a4e12c..00704a6a7c 100644
--- a/synapse/http/matrixfederationclient.py
+++ b/synapse/http/matrixfederationclient.py
@@ -528,7 +528,6 @@ class MatrixFederationHttpClient:
SpanAttributes.HTTP_METHOD: request.method,
SpanAttributes.HTTP_URL: request.path,
},
- end_on_exit=True,
)
# Inject the span into the headers
|