You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
while looking into element-hq/element-x-ios#2062, @kegsay noted that the p=1 req for my acct took 4s to return, which feels worryingly long (especially if the app is incorrectly blocking the UI waiting for it to return).
The text was updated successfully, but these errors were encountered:
I wonder if we can optimise just that particular query, i.e cases where:
you want lazy members
timeline limit = 1
In that case, it might be quicker to just guess from the events table e.g SELECT event_nid FROM syncv3_events WHERE event_type='m.room.member' AND state_key='@sender' AND room_id='!theroom' AND (membership='join' OR membership='_join'). Then do a simple existence check in the membership_events array. If it is in the array, great we saved a ton of time. If it isn't, boo, we still need to check as we may have guessed the wrong membership event (e.g a join from months ago).
while looking into element-hq/element-x-ios#2062, @kegsay noted that the p=1 req for my acct took 4s to return, which feels worryingly long (especially if the app is incorrectly blocking the UI waiting for it to return).
The text was updated successfully, but these errors were encountered: