Mailspring/packages
Juan Tejada a5fec9e7a8 [local-sync] Separate sending tasks from the sync-loop
Summary:
We want to do this in order to prevent send tasks from blocking the sync loop given that they can take a very long time to run. This is especially true when sending emails with large attachments to multiple recipients.
There is no real way to make sending in these cases faster, but we can prevent it from blocking the sync loop at least, especially because sending is mostly I/O bound.

This is a bit messy actually, but should be fixed when we properly implement a sync scheduler

Also added a limit to the total size of attachments you can upload to try to prevent weird EPIPE errors when sending.
See: D3670.

Also moved and renamed stuff a little

Test Plan: manual

Reviewers: halla, evan

Reviewed By: evan

Differential Revision: https://phab.nylas.com/D3669
2017-01-13 19:01:52 -08:00
..
isomorphic-core [local-sync] For generic IMAP, Thread based on Message-Id, In-Reply-To & References 2017-01-13 10:39:54 -08:00
local-private [local-private] use new Sentry endpoint 2017-01-13 16:17:24 -08:00
local-sync [local-sync] Separate sending tasks from the sync-loop 2017-01-13 19:01:52 -08:00