mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-23 23:54:13 +08:00
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 |
||
---|---|---|
.. | ||
components | ||
extensions | ||
fixtures | ||
models | ||
services | ||
stores | ||
tasks | ||
action-bridge-spec.coffee | ||
auto-update-manager-spec.coffee | ||
buffered-process-spec.coffee | ||
clipboard-spec.coffee | ||
component-registry-spec.coffee | ||
database-object-registry-spec.coffee | ||
date-utils-spec.es6 | ||
dom-utils-spec.coffee | ||
extension-registry-spec.coffee | ||
jasmine-helper.coffee | ||
jasmine-jquery.js | ||
jasmine.js | ||
launch-services-spec.coffee | ||
list-selection-spec.coffee | ||
mail-rules-processor-spec.coffee | ||
mailbox-perspective-spec.es6 | ||
menu-manager-spec.coffee | ||
module-cache-spec.coffee | ||
n1-spec-reporter.coffee | ||
nylas-api-spec.coffee | ||
nylas-env-spec.coffee | ||
nylas-protocol-handler-spec.coffee | ||
nylas-test-utils.coffee | ||
package-manager-spec.coffee | ||
package-spec.coffee | ||
quoted-html-transformer-spec.coffee | ||
quoted-plain-text-transformer-spec.coffee | ||
spec-bootstrap.coffee | ||
spec-helper-platform.coffee | ||
spec-helper.coffee | ||
spec-suite.coffee | ||
spellchecker-spec.coffee | ||
style-manager-spec.coffee | ||
styles-element-spec.coffee | ||
task-factory-spec.es6 | ||
theme-manager-spec.coffee | ||
time-override.coffee | ||
time-reporter.coffee | ||
undo-manager-spec.coffee | ||
utils-spec.coffee |