mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-12 02:58:20 +08:00
7b2e27b87b
Summary: Before trying to sync a folder, check if we actually need to do so. This will prevent us from doing unnecessary work that slows down the sync loop (like performing SELECT commands) We will perform a folder sync if any of the following are true - The folder hasn't been completely synced - There are new messages (using imap STATUS command) - There are attribute changes indicated via highestmodseq (using imap STATUS command) - If server doesn't support highestmodseq, it has passed enough time since we last ran an attribute scan on the folder. Addresses T7513 Test Plan: manual Reviewers: evan, halla, spang Reviewed By: halla, spang Differential Revision: https://phab.nylas.com/D3675 |
||
---|---|---|
.. | ||
src | ||
index.js | ||
package.json |