diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-12-20 18:12:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-20 18:12:08 +0000 |
commit | c3e38b88f221971fdafbca1283cc628bd439efd3 (patch) | |
tree | 25ae12ec6e785d962ced62be32f234382690ce77 /synapse/handlers | |
parent | Improve opentracing for incoming HTTP requests (#11618) (diff) | |
download | synapse-c3e38b88f221971fdafbca1283cc628bd439efd3.tar.xz |
Improve opentracing support for `ResponseCache` (#11607)
This adds some opentracing annotations to ResponseCache, to make it easier to see what's going on; in particular, it adds a link back to the initial trace which is actually doing the work of generating the response.
Diffstat (limited to 'synapse/handlers')
-rw-r--r-- | synapse/handlers/room.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/room.py b/synapse/handlers/room.py index ead2198e14..b9c1cbffa5 100644 --- a/synapse/handlers/room.py +++ b/synapse/handlers/room.py @@ -172,7 +172,7 @@ class RoomCreationHandler: user_id = requester.user.to_string() # Check if this room is already being upgraded by another person - for key in self._upgrade_response_cache.pending_result_cache: + for key in self._upgrade_response_cache.keys(): if key[0] == old_room_id and key[1] != user_id: # Two different people are trying to upgrade the same room. # Send the second an error. |