Closed Bug 1708752 Opened 4 years ago Closed 3 years ago

Limit the run time, and exit with a time out, background update tasks that take too long

Categories

(Toolkit :: Application Update, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: nalexander, Assigned: bytesized)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files)

This is belt-and-braces above Bug 1707020. We'd like to time out background update tasks that take too long. We should do this at the JS level, racing two promises; and at the Task Scheduler API level, which allows the OS to kill tasks that time out.

Assignee: nobody → ksteuber
Pushed by ksteuber@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a76e8fb22752 Add Background Update Task timeout to the Task Scheduler r=nalexander,agashlin https://hg.mozilla.org/integration/autoland/rev/abc6fafd4e7c Allow BackgroundTasksManager to use a timeout to prevent long running tasks r=nalexander,application-update-reviewers https://hg.mozilla.org/integration/autoland/rev/6a614e6903c2 Add testing for background task timeout r=nalexander
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: