-
-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazyload findings #7182
Comments
and for some good news, my v8 heap size has gone down from 1.2GB to 350MB ;) |
I think the simplest and most correct fix on stopping the "every room appears as a peek until /members load" misbehaviour is to just get the server to LL you your own member whatever. |
ftr I did the server-side "always lazyload yourself" work too over at matrix-org/synapse@develop...matthew/lazy_load_yourself and matrix-org/sytest@develop...matthew/lazy_load_yourself - but @bwindels is absolutely right that this can be done more elegantly clientside as per matrix-org/matrix-react-sdk#2126 |
FTR, the initial I even wonder if we could use only known members. The matrix-ios-sdk crypto tests are even still happy if I pass an empty list of members on FTR bis, in case the FTR ter, I have this test to check e2e in a room where we do not have all members loaded. |
we only need to know the members in a E2E room before we send a message into it (assuming that the server correctly tells the members of the room that our device exists in the room). So, i think it should be fine to delay /members for E2E rooms until that room is actually loaded (and the user tries to speak in it), and it certainly shouldn't block initial login. |
Members are used here to start tracking their devices. I need to check the impact if we do not track devices beforehand anymore. |
@ara4n any hints how I can reproduce the FilePanel? I tried opening the file panel, minimizing the browser, changing tab, making my laptop sleep, going back to the riot tab, couldn't repro so far. |
unsure. i just kept opening filepanel in various rooms and switching around, and then next time i unslept the app the main timeline was using the filepanel filter. i only saw it once. |
The RR issue really looks the same as item 6, it's just the catchup sync taking a long time. Investigated a bit but couldn't reproduce them being blocked on /members. I'd leave it as it is and hope for /sync to get faster? |
hm. i'm still seeing "you cannot post in this room" in the composer until the bg members have loaded when switching to a room for the first time since an initial sync. |
I just reproduced the FilePanel problem:
In other news, we should split this bug up into separate ones... i only dumped it all in one place due to expedience/laziness whilst on hol. |
Opened individual tickets for the remaining issues, let's continue the conversation there. |
So, I've just tried turning on LL on my main account in riot-web. So far, cautiously good - but initial feedback is:
The text was updated successfully, but these errors were encountered: