Mailspring/packages
Juan Tejada e2b317d09d [local-sync] Make all syncback tasks interrupt sync so they run fast
Summary:
This commit also lowers the batch size of messages to fetch on folder sync down to 30. This is in order to prevent sync from getting stuck if we queue too many syncback tasks-- given that we only update the range of fetched uids after we've actually fetched and processed messages, if the batch size is too big and we interrupt too often, we might end up never advancing the range and re fetching the same messages over and over.
This also makes the sync loop run faster through all folders in general.

Depends on D3689 to make sure that the batch size actually reflects a message count, i.e. to ensure that we are making /visible/ progress.

Test Plan: manual

Reviewers: spang, khamidou, evan

Reviewed By: evan

Maniphest Tasks: T7477

Differential Revision: https://phab.nylas.com/D3692
2017-01-15 15:07:49 -08:00
..
isomorphic-core [iso-core] Use SUPPORTED_PROVIDERS in Account.smtpConfig() 2017-01-15 14:37:38 -08:00
local-private [local-private] use new Sentry endpoint 2017-01-13 16:17:24 -08:00
local-sync [local-sync] Make all syncback tasks interrupt sync so they run fast 2017-01-15 15:07:49 -08:00