End on exit is already the default expected behavior

This commit is contained in:
Eric Eastwood 2022-08-02 13:48:15 -05:00
parent da396a2538
commit ad71bc39d6
2 changed files with 0 additions and 2 deletions

View file

@ -413,7 +413,6 @@ class SimpleHttpClient:
SpanAttributes.HTTP_METHOD: method,
SpanAttributes.HTTP_URL: uri,
},
end_on_exit=True,
):
try:
body_producer = None

View file

@ -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