Comment about a better future where we can get the state diff between two events (#13586)
Split off from https://github.com/matrix-org/synapse/pull/13561 Part of https://github.com/matrix-org/synapse/issues/13356 Mentioned in [internal doc](https://docs.google.com/document/d/1lvUoVfYUiy6UaHB6Rb4HicjaJAU40-APue9Q4vzuW3c/edit#bookmark=id.2tvwz3yhcafh)
This commit is contained in:
parent
c406d50d2d
commit
0bf180cbb4
|
@ -0,0 +1 @@
|
||||||
|
Comment about a better future where we can get the state diff between two events.
|
|
@ -1041,6 +1041,14 @@ class FederationEventHandler:
|
||||||
InvalidResponseError: if the remote homeserver's response contains fields
|
InvalidResponseError: if the remote homeserver's response contains fields
|
||||||
of the wrong type.
|
of the wrong type.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# It would be better if we could query the difference from our known
|
||||||
|
# state to the given `event_id` so the sending server doesn't have to
|
||||||
|
# send as much and we don't have to process as many events. For example
|
||||||
|
# in a room like #matrix:matrix.org, we get 200k events (77k state_events, 122k
|
||||||
|
# auth_events) from this call.
|
||||||
|
#
|
||||||
|
# Tracked by https://github.com/matrix-org/synapse/issues/13618
|
||||||
(
|
(
|
||||||
state_event_ids,
|
state_event_ids,
|
||||||
auth_event_ids,
|
auth_event_ids,
|
||||||
|
|
Loading…
Reference in New Issue