mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-09-22 00:06:06 +08:00
e197de86e0
Summary: Fixes https://phab.nylas.com/T7435 The old deepScan (now `scanForAttributeChanges`) and shallowScan (now `fetchLatestAttributeChanges`) had some fatal flaws. If you deep scanned it would attempt to load the message attributes of all messages ever and cause very bad memory leaks. Also, if you left a mailbox running for a long time, there was a query that would eventually run `Message.findAll` and, even though it was just returning the headers, would still run insanely expensive operations This fixes (and renames) these issues. Test Plan: manual Reviewers: spang, halla, juan Reviewed By: juan Differential Revision: https://phab.nylas.com/D3657 |
||
---|---|---|
.. | ||
isomorphic-core | ||
local-private | ||
local-sync |