Open
Bug 1897258
Opened 1 year ago
Updated 1 year ago
Load all message collections in Skylight concurrently to speed-up the process
Categories
(Firefox :: Messaging System, enhancement, P3)
Firefox
Messaging System
Tracking
()
NEW
People
(Reporter: sachung, Unassigned)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [omc])
We are currently loading all three message collections (ie. production messages, message experiments, rollout messages) individually, as seen here. Consider using Promise.allSettled() instead to load all three collections concurrently and speed up the process.
Updated•1 year ago
|
See Also: → https://mozilla-hub.atlassian.net/browse/OMC-846
Comment 1•1 year ago
|
||
One thing I've realized is that since the get*Collection functions no longer use the network, they are unlikely to be slow enough to be worth making async. That said the other two awaits can still be optimized this way.
Updated•1 year ago
|
Points: --- → 3
Priority: -- → P3
Updated•1 year ago
|
Blocks: skylight-prod-clarity-meta
You need to log in
before you can comment on or make changes to this bug.
Description
•