mirror of
https://github.com/element-hq/synapse
synced 2024-09-20 00:35:14 +00:00
End on exit is already the default expected behavior
This commit is contained in:
parent
da396a2538
commit
ad71bc39d6
2 changed files with 0 additions and 2 deletions
|
@ -413,7 +413,6 @@ class SimpleHttpClient:
|
||||||
SpanAttributes.HTTP_METHOD: method,
|
SpanAttributes.HTTP_METHOD: method,
|
||||||
SpanAttributes.HTTP_URL: uri,
|
SpanAttributes.HTTP_URL: uri,
|
||||||
},
|
},
|
||||||
end_on_exit=True,
|
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
body_producer = None
|
body_producer = None
|
||||||
|
|
|
@ -528,7 +528,6 @@ class MatrixFederationHttpClient:
|
||||||
SpanAttributes.HTTP_METHOD: request.method,
|
SpanAttributes.HTTP_METHOD: request.method,
|
||||||
SpanAttributes.HTTP_URL: request.path,
|
SpanAttributes.HTTP_URL: request.path,
|
||||||
},
|
},
|
||||||
end_on_exit=True,
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Inject the span into the headers
|
# Inject the span into the headers
|
||||||
|
|
Loading…
Reference in a new issue