mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-14 05:41:05 +08:00
fbce62d97b
Summary: FTS tables don't support indices, so doing UPDATEs and DELETEs based on the `content_id` was very slow on large FTS tables. Fortunately, it seems that `UPDATE`s and `DELETE`s based on the `rowid` are much faster, so now we store that info hanging off the searchable models. Also fixes a random bug where after reaching the `MAX_INDEX_SIZE` we would clear the Thread search index on startup. Test Plan: Run locally, time how long it takes to delete when receiving new mail Reviewers: spang, evan, juan Reviewed By: evan, juan Differential Revision: https://phab.nylas.com/D3847 |
||
---|---|---|
.. | ||
lib | ||
package.json |