mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-22 12:44:30 +03:00
Trace more e2e stuff and less e2e stuff
This commit is contained in:
parent
1e7099d04c
commit
d876cda725
2 changed files with 5 additions and 1 deletions
|
@ -271,7 +271,6 @@ class E2eRoomKeysHandler(object):
|
|||
)
|
||||
return new_version
|
||||
|
||||
@trace_defered_function
|
||||
@defer.inlineCallbacks
|
||||
def get_version_info(self, user_id, version=None):
|
||||
"""Get the info about a given version of the user's backup
|
||||
|
|
|
@ -23,6 +23,10 @@ from synapse.http.servlet import (
|
|||
parse_json_object_from_request,
|
||||
parse_string,
|
||||
)
|
||||
from synapse.util.tracerutils import (
|
||||
TracerUtil,
|
||||
trace_defered_function_using_operation_name,
|
||||
)
|
||||
|
||||
from ._base import client_patterns
|
||||
|
||||
|
@ -311,6 +315,7 @@ class RoomKeysVersionServlet(RestServlet):
|
|||
self.auth = hs.get_auth()
|
||||
self.e2e_room_keys_handler = hs.get_e2e_room_keys_handler()
|
||||
|
||||
@trace_defered_function_using_operation_name("get_room_keys_version")
|
||||
@defer.inlineCallbacks
|
||||
def on_GET(self, request, version):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue