Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 204bdb7

Browse files
author
David Robertson
committed
Tag /send_join responses to detect faster joins
1 parent 484db60 commit 204bdb7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

synapse/federation/federation_server.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
)
6464
from synapse.logging.opentracing import (
6565
log_kv,
66+
set_tag,
6667
start_active_span_from_edu,
6768
tag_args,
6869
trace,
@@ -678,6 +679,7 @@ async def on_send_join_request(
678679
room_id: str,
679680
caller_supports_partial_state: bool = False,
680681
) -> Dict[str, Any]:
682+
set_tag("partial_state", caller_supports_partial_state)
681683
await self._room_member_handler._join_rate_per_room_limiter.ratelimit( # type: ignore[has-type]
682684
requester=None,
683685
key=room_id,

0 commit comments

Comments
 (0)