ui lags when opening ideas
art-in opened this issue · comments
too much time spent in database task:
(opening idea in zen mode)
hot action is set-mindset-focus-idea
, which updates focusIdeaId
in current mindset.
lots of mindset revision ids are sent to server database:
mindset is the only document which is updated frequently (focusIdeaId
, etc.), that's why is has so many revisions (up to 1K).
the solution is probably to get rid of old revisions through couchdb/pouchdb compaction.