Mailspring/packages/client-sync/spec/local-sync-worker
Halla Moore c11a7ff830 [client-sync] Interrupt long-running syncback tasks
Summary:
Interrupt retryable syncback tasks that are taking too long so that we can
return control to the sync loop. The sync loop will retry the task later.
This diff adds a `forceReject` param to `interrupt()` so that we can return
control immediately instead of waiting for the current operation to finish
(for instance, the syncback task could be stuck in an imap operation, and a
normal interrupt would still have to wait for that to finish before returning
control to the callee)

Part of T7978

Test Plan: specs

Reviewers: evan, spang, mark, juan

Reviewed By: juan

Differential Revision: https://phab.nylas.com/D4269
2017-03-30 15:50:34 -07:00
..
sync-tasks [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
syncback-tasks [client-sync] Interrupt long-running syncback tasks 2017-03-30 15:50:34 -07:00
imap-helpers-spec.es6 [client-*] Rename packages folders and update readme 2017-02-16 13:31:37 -08:00
sync-process-manager-spec.es6 [client-app] Fix importing SyncActivity 2017-03-28 09:09:39 -07:00