bwindels / brawl-chat

A minimal Matrix chat client, focused on performance and offline functionality.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Initial sync fails on Lumia for a medium sized account

bwindels opened this issue · comments

It does succeed for a small (4 small rooms) account though.

It also takes ages to get the error. Need to implement loading screen updates, but can imagine it is indexeddb on Lumia that takes so long, as on a laptop, on the same connection, it loads way faster.

If it turns out that Lumia Indexeddb can't deal with a few 1000 of records, we can:

  • implement lazy loading, to not get so many membership events
  • implement a FILO max event size that is persisted per room (we remove events in the same txn as we add new ones, to keep the amount below a given cap).

Fixed by using lazy loading filters