summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorEric Eastwood <erice@element.io>2022-08-02 13:48:15 -0500
committerEric Eastwood <erice@element.io>2022-08-02 13:48:15 -0500
commitad71bc39d6167b45b05557c6ff0c2f5d26d0304b (patch)
tree3125bfafbaca703a177e79e306dc7b23fb4ed5d0 /synapse
parentAdd test for what happens when side by side spans in with statement (diff)
downloadsynapse-ad71bc39d6167b45b05557c6ff0c2f5d26d0304b.tar.xz
End on exit is already the default expected behavior
Diffstat (limited to 'synapse')
-rw-r--r--synapse/http/client.py1
-rw-r--r--synapse/http/matrixfederationclient.py1
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