-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Implement updated spaces summary API #10495
Comments
We also need to update |
The local version of this is done now, with the federation APIs up for review. I'm wondering about caching the requests made out over federation -- is this something that we do anywhere else? Ideally we would cache them so that they could be used by multiple workers...but again I'm not sure this is something we do? Maybe if the request was routed via the |
Also see matrix-org/matrix-js-sdk#1818 for the Element Web side. |
I've thought about this a bit and I don't think the state can be easily shared as what rooms are accessible depends on the requester. We did add a Federation responses can be easily cached and should be, but that's a separate task. |
I'm going to call this "done" and handle the follow-ups as part of #10523, which are all to do with optimizations / performance. This feature will be coming out in Synapse 1.41.0, which should have an RC available this week. |
MSC2946 was recently rewritten based on some changes in design and lessons learned during initial implementation. We need to implement the changes and test them, etc.
The main design changes are:
max_depth
instead of amax_rooms_per_space
.limit
andfrom
in the requests andnext_token
in the response).This is enough changes that I think we'll need to add new API endpoints / handlers for this code. I think we're going to want to keep backwards compatibility (for at least a few releases) so can't quite get rid of the old code yet. This will be a bit annoying, but should get cleaned up when we switch to the stable version.
I think some rough steps of what we'll want to do are:
Explore whether pagination tokens can be shared between users (with results cached / reused).The text was updated successfully, but these errors were encountered: