mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-03-01 10:33:14 +08:00
Summary: Since we only persist updates to fetchedmin/fetchedmax at the end of a batch, and a batch can contain many messages, if the sync loop is getting interrupted often we will download the same messages over and over again and not make much progress in downloading the message backlog. This patch keeps a set of already downloaded messages in memory for each batch and skips downloading UIDs we've processed in interrupted sync loops. Messages may still be redownloaded across app restarts. Fixes T7798 Test Plan: manual Reviewers: juan, mark Reviewed By: juan, mark Maniphest Tasks: T7798 Differential Revision: https://phab.nylas.com/D4040 |
||
---|---|---|
.. | ||
migrations | ||
models | ||
auth-helpers.js | ||
backoff-schedulers.es6 | ||
database-types.js | ||
delta-stream-builder.js | ||
env-helpers.es6 | ||
errors.js | ||
hook-increment-version-on-save.js | ||
hook-transaction-log.js | ||
imap-box.js | ||
imap-connection.es6 | ||
imap-errors.js | ||
imap-pool.es6 | ||
load-models.js | ||
metrics-reporter.es6 | ||
promise-utils.js | ||
sendmail-client.es6 |