Mailspring/packages/local-sync/src
Juan Tejada 5189407e38 [local-sync] Fix syncback tasks execution
Summary:
We were doing all of this fancy filtering and sorting to determine which
tasks to run, but in the end, we were just running the whole unsorted
list (using the wrong variable)

Also extracted getting the list of tasks into its own function, for
easier unit tests (it should really have some)

And, also wanted to make sure other people looked at this code, since I
believe no one has before.

Test Plan: todo

Reviewers: mark, khamidou, spang, halla

Reviewed By: halla

Differential Revision: https://phab.nylas.com/D3516
2016-12-15 14:41:53 -08:00
..
local-api [local-sync] Update send endpoints to use SyncbackTasks 2016-12-15 11:55:40 -08:00
local-sync-dashboard [local-sync] Ship first sync metrics to honeycomb 2016-12-01 14:23:52 -08:00
local-sync-worker [local-sync] Fix syncback tasks execution 2016-12-15 14:41:53 -08:00
models [local-sync]: Move sendmail-client and errors to isomorphic-core 2016-12-15 12:29:56 -08:00
new-message-processor [local-sync, cloud-api, cloud-workers] Fix msg id collision, tracking and sending issues, some refactoring 2016-12-14 19:35:48 -08:00
shared [local-sync] Fix contact parsing from T7327 2016-12-15 12:30:59 -08:00