Closed
Bug 1361996
Opened 8 years ago
Closed 8 years ago
Use |requestIdleCallback| for saving prefs in |sendNewProfilePing|
Categories
(Toolkit :: Telemetry, enhancement, P3)
Toolkit
Telemetry
Tracking
()
RESOLVED
INVALID
People
(Reporter: Dexter, Unassigned)
References
Details
In bug 1120370 we're using prefs to track if the "new-profile" ping was sent or not. To be robust to crashes, once a new-profile ping is sent, we flush the prefs to disk. This use-case could benefit from using |requestIdleCallback| which, however, isn't available outside of DOM.
We should change that, by using |requestIdleCallback| or |dispatchIdleCallback|, once bug 1353206 or bug 1358476 land if we're not shutting down.
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Comment 2•8 years ago
|
||
Nope, we are not using prefs anymore so this can be closed.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(alessio.placitelli)
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•