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)
Toolkit
Application Update
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.
Reporter | ||
Updated•4 years ago
|
Blocks: update-agent-m2
Assignee | ||
Updated•4 years ago
|
Assignee: nobody → ksteuber
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D115398
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D115399
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
Comment 5•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a76e8fb22752
https://hg.mozilla.org/mozilla-central/rev/abc6fafd4e7c
https://hg.mozilla.org/mozilla-central/rev/6a614e6903c2
Status: NEW → RESOLVED
Closed: 3 years ago
status-firefox90:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•