Skip to content

Room list visibility cache includes event data #256

@alphapapa

Description

@alphapapa

I just realized that the persisted value of ement-room-list-visibility-cache includes room event data. On my account, that serialized to over 150 MB (which could explain some apparent slowness for some users at times).

Fixing this requires that we define a subclass of magit-section to insert our sections as, and then an ident value function to return simple identifiers (e.g. room ID-session ID pairs).

Then we must pass that subclass to taxy-magit-section-insert. That will require a new version of taxy-magit-section, but it's a simple change.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions