diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2022-08-22 10:03:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-22 10:03:11 +0100 |
commit | 94375f7a913f75fe0a93a3eda2bfe5060e975290 (patch) | |
tree | f1e76556e5d901ca75413e75c320a64949af9eb9 /synapse/rest/client/sendtodevice.py | |
parent | MSC2716v4 room version - remove namespace from MSC2716 event content fields (... (diff) | |
download | synapse-94375f7a913f75fe0a93a3eda2bfe5060e975290.tar.xz |
Remove redundant opentracing spans for `/sendToDevice` and `/keys/upload` (#13574)
Diffstat (limited to 'synapse/rest/client/sendtodevice.py')
-rw-r--r-- | synapse/rest/client/sendtodevice.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/synapse/rest/client/sendtodevice.py b/synapse/rest/client/sendtodevice.py index 1a8e9a96d4..46a8b03829 100644 --- a/synapse/rest/client/sendtodevice.py +++ b/synapse/rest/client/sendtodevice.py @@ -19,7 +19,7 @@ from synapse.http import servlet from synapse.http.server import HttpServer from synapse.http.servlet import assert_params_in_dict, parse_json_object_from_request from synapse.http.site import SynapseRequest -from synapse.logging.opentracing import set_tag, trace_with_opname +from synapse.logging.opentracing import set_tag from synapse.rest.client.transactions import HttpTransactionCache from synapse.types import JsonDict @@ -43,7 +43,6 @@ class SendToDeviceRestServlet(servlet.RestServlet): self.txns = HttpTransactionCache(hs) self.device_message_handler = hs.get_device_message_handler() - @trace_with_opname("sendToDevice") def on_PUT( self, request: SynapseRequest, message_type: str, txn_id: str ) -> Awaitable[Tuple[int, JsonDict]]: |