mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-15 12:39:28 +08:00
47a8823242
Summary: This is a critical patch that fixes two problems with the task queue: 1. Tasks in Status: Retry are retried the next time processQueue is run, which could be pretty much immediately. Certain scenarios lead to tasks running in a hard loop forever. 2. Returning Task.Status.Retry set the retry flags on the task but did not schedule the queue to be processed again. So if only a single item in the queue was present, it might never be retried again until the user performed another action. Test Plan: Where did the specs for TaskQueue go? There aren't many... need to write more. Reviewers: evan Reviewed By: evan Differential Revision: https://phab.nylas.com/D2762 |
||
---|---|---|
.. | ||
account-store-spec.coffee | ||
category-store-spec.es6 | ||
contact-store-spec.coffee | ||
database-setup-query-builder-spec.coffee | ||
database-store-spec.coffee | ||
database-transaction-spec.coffee | ||
draft-store-proxy-spec.coffee | ||
draft-store-spec.coffee | ||
file-download-store-spec.coffee | ||
file-upload-store-spec.coffee | ||
focused-contacts-store-spec.coffee | ||
focused-content-store-spec.coffee | ||
focused-perspective-store-spec.coffee | ||
message-store-spec.coffee | ||
nylas-sync-status-store-spec.es6 | ||
task-queue-spec.coffee | ||
unread-badge-store-spec.coffee |